mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix union of homogeneously negated input constraints
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-union-1): Fix logic. * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-cstr-typespec-tests-alist): Add a couple of tests.
This commit is contained in:
parent
cbbdb4e199
commit
726e40fb7c
2 changed files with 5 additions and 1 deletions
|
|
@ -85,7 +85,9 @@
|
|||
((or symbol (not sequence)) . t)
|
||||
((or vector (not sequence)) . (not sequence))
|
||||
((or (integer 1 10) (not (integer * 5))) . (integer 1 *))
|
||||
((or symbol (integer 1 10) (not (integer * 5))) . (integer 1 *)))
|
||||
((or symbol (integer 1 10) (not (integer * 5))) . (integer 1 *))
|
||||
((or symbol (not (member foo))) . (not (member foo)))
|
||||
((or (not symbol) (not (member foo))) . (not symbol)))
|
||||
"Alist type specifier -> expected type specifier.")
|
||||
|
||||
(defmacro comp-cstr-synthesize-tests ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue