aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorAndrea Corallo2021-02-22 13:58:30 +0100
committerAndrea Corallo2021-02-22 13:59:56 +0100
commitd6227f6edcff7be05469e99da4ce541bfc474c3d (patch)
treefded45fd969f963c21295860dda09c81d09be87c /test/src
parentda4da88c76465e30ce974383b182f191553b470a (diff)
downloademacs-d6227f6edcff7be05469e99da4ce541bfc474c3d.tar.gz
emacs-d6227f6edcff7be05469e99da4ce541bfc474c3d.zip
* Fix union constraint for mixed pos/neg constraints
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-union-1-no-mem): Fix neg type shadowing pos values. * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-cstr-typespec-tests-alist): Add testcase. * test/src/comp-tests.el (comp-tests-type-spec-tests): Fix testcase.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/comp-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index 08c18894419..f7b5a6bbb4c 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -1185,7 +1185,7 @@ Return a list of results."
1185 ((defun comp-tests-ret-type-spec-f (x) 1185 ((defun comp-tests-ret-type-spec-f (x)
1186 (unless (symbolp x) 1186 (unless (symbolp x)
1187 x)) 1187 x))
1188 (not symbol)) 1188 t)
1189 1189
1190 ;; 55 1190 ;; 55
1191 ((defun comp-tests-ret-type-spec-f (x) 1191 ((defun comp-tests-ret-type-spec-f (x)