diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-03-01 09:30:44 +0100 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-03-01 09:30:44 +0100 |
commit | c55694785e93212d1da5f96123288e596cb24f53 (patch) | |
tree | 737c364da774e2c3724c04adbd0ff36cacfff22a /test | |
parent | 4dd4f145b8528d5a742af4268073c24d629801d8 (diff) | |
parent | 4372a056fef90e5927d1a627fe0eb2bb01eb0dfb (diff) | |
download | emacs-c55694785e93212d1da5f96123288e596cb24f53.tar.gz |
Merge branch 'feature/type-hierarchy' into 'master'
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/emacs-lisp/comp-cstr-tests.el | 4 | ||||
-rw-r--r-- | test/src/comp-tests.el | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/lisp/emacs-lisp/comp-cstr-tests.el b/test/lisp/emacs-lisp/comp-cstr-tests.el index edc70b12d4b..c3a7092819d 100644 --- a/test/lisp/emacs-lisp/comp-cstr-tests.el +++ b/test/lisp/emacs-lisp/comp-cstr-tests.el @@ -170,7 +170,7 @@ The arg is an alist of: type specifier -> expected type specifier." ;; 61 ((and atom (not symbol)) . atom) ;; 62 - ((and atom (not string)) . (or array sequence atom)) + ((and atom (not string)) . (or array atom)) ;; 63 Conservative ((and symbol (not (member foo))) . symbol) ;; 64 Conservative @@ -196,7 +196,7 @@ The arg is an alist of: type specifier -> expected type specifier." ;; 74 ((and boolean (or number marker)) . nil) ;; 75 - ((and atom (or number marker)) . number-or-marker) + ((and atom (or number marker)) . (or integer-or-marker number-or-marker)) ;; 76 ((and symbol (or number marker)) . nil) ;; 77 diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index fbcb6ca9560..67d632823b2 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el @@ -1029,7 +1029,7 @@ Return a list of results." (if (= x y) x 'foo)) - '(or (member foo) number-or-marker)) + '(or (member foo) number-or-marker integer-or-marker)) ;; 14 ((defun comp-tests-ret-type-spec-f (x) @@ -1169,7 +1169,7 @@ Return a list of results." ((defun comp-tests-ret-type-spec-f (x) (when (> x 1.0) x)) - '(or null number-or-marker)) + '(or null number-or-marker integer-or-marker)) ;; 36 ((defun comp-tests-ret-type-spec-f (x y) |