diff options
| author | Stefan Monnier | 2026-01-27 11:17:37 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2026-01-27 11:17:37 -0500 |
| commit | 6e2a4b8111cfb5ee66bfe24bb8411aaac8cf0bf8 (patch) | |
| tree | 7d9f3d21e73b348ccf7daa9d687104c85ed79e8a /test/cedet/tests/teststruct.cpp | |
| parent | 4fae092e2d8b20471ee1b30bf7d30d26feef0bd0 (diff) | |
| download | emacs-6e2a4b8111cfb5ee66bfe24bb8411aaac8cf0bf8.tar.gz emacs-6e2a4b8111cfb5ee66bfe24bb8411aaac8cf0bf8.zip | |
(pcase--subtype-bitsets): Make it a bit more precise
`null`, `booleanp`, and `symbolp` were treated as equivalent in
`pcase--subtype-bitsets`, which was not incorrect to the extent
that we currently use this table only to detect
mutual-exclusion, but made it incorrect to use that same table
to test things like inclusion.
* lisp/emacs-lisp/cl-preloaded.el (built-in-class): New slot
`non-abstract-supertype`.
(cl--define-built-in-type): Add corresponding keyword argument.
(symbol, boolean): Use it.
* lisp/emacs-lisp/pcase.el (pcase--subtype-bitsets): Use it.
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Require `help`
before calling `help--docstring-quote`. Fixes a corner case bootstrap
problem found along the way.
Diffstat (limited to 'test/cedet/tests/teststruct.cpp')
0 files changed, 0 insertions, 0 deletions