aboutsummaryrefslogtreecommitdiffstats
path: root/test/cedet/tests/teststruct.cpp
diff options
context:
space:
mode:
authorStefan Monnier2026-01-27 11:17:37 -0500
committerStefan Monnier2026-01-27 11:17:37 -0500
commit6e2a4b8111cfb5ee66bfe24bb8411aaac8cf0bf8 (patch)
tree7d9f3d21e73b348ccf7daa9d687104c85ed79e8a /test/cedet/tests/teststruct.cpp
parent4fae092e2d8b20471ee1b30bf7d30d26feef0bd0 (diff)
downloademacs-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