diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-03-26 11:14:08 +0100 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-03-26 11:14:08 +0100 |
commit | 8cc67dbcec0753c5579e63bf82bfe247debe222c (patch) | |
tree | 1e35b49a8a150785138ccf4889888bc40252a0a0 /test/lisp/emacs-lisp/rx-tests.el | |
parent | b7b9a0a5c1afae07b8168e85dcf1fc37d29e98ef (diff) | |
download | emacs-8cc67dbcec0753c5579e63bf82bfe247debe222c.tar.gz emacs-8cc67dbcec0753c5579e63bf82bfe247debe222c.tar.bz2 emacs-8cc67dbcec0753c5579e63bf82bfe247debe222c.zip |
Fix native comp prediction on null functionp tested objects
* lisp/emacs-lisp/comp.el (comp-known-predicates)
(comp-known-predicates-h): Update.
(comp--pred-to-pos-cstr, comp--pred-to-neg-cstr): New functions.
(comp--add-cond-cstrs): Make use of them.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add a test.
Diffstat (limited to 'test/lisp/emacs-lisp/rx-tests.el')
0 files changed, 0 insertions, 0 deletions