diff options
author | Andrea Corallo <acorallo@gnu.org> | 2023-10-18 16:10:08 +0200 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2023-10-19 13:59:57 +0200 |
commit | a567faf4c2bc497e50ce3c6ace32c1333cf3b706 (patch) | |
tree | e609039fdf8ff366a85871991980ed6e95c60d72 /test/lisp/emacs-lisp | |
parent | 3e193edd68b1abd9483267ba09c6e5c0c59e6c23 (diff) | |
download | emacs-a567faf4c2bc497e50ce3c6ace32c1333cf3b706.tar.gz emacs-a567faf4c2bc497e50ce3c6ace32c1333cf3b706.tar.bz2 emacs-a567faf4c2bc497e50ce3c6ace32c1333cf3b706.zip |
Add two missing 'number-or-marker' entries to the cl machinery (bug#66615)
Assuming 'number-or-marker' is a type (as present multiple times in
cl--typeof-types) adding some missing entries for coherency.
* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
'number-or-marker' as supertype of 'number' in the 'float' branch.
* lisp/emacs-lisp/cl-macs.el (cl-deftype-satisfies): Add
'number-or-marker'.
* test/lisp/emacs-lisp/comp-cstr-tests.el (comp-cstr-typespec-tests-alist):
Update test.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Update two testes.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/comp-cstr-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/comp-cstr-tests.el b/test/lisp/emacs-lisp/comp-cstr-tests.el index a4f282fcfef..d2f552af6fa 100644 --- a/test/lisp/emacs-lisp/comp-cstr-tests.el +++ b/test/lisp/emacs-lisp/comp-cstr-tests.el @@ -191,7 +191,7 @@ ;; 74 ((and boolean (or number marker)) . nil) ;; 75 - ((and atom (or number marker)) . (or marker number)) + ((and atom (or number marker)) . number-or-marker) ;; 76 ((and symbol (or number marker)) . nil) ;; 77 |