1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

* lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Add two functions.

This commit is contained in:
Andrea Corallo 2020-12-26 12:22:21 +01:00
parent 89d5a3a760
commit c5c0c06b1c

View File

@ -264,7 +264,10 @@ Useful to hook into pass checkers.")
(zerop (function (number) boolean))
;; Type hints
(comp-hint-fixnum (function (t) fixnum))
(comp-hint-cons (function (t) cons)))
(comp-hint-cons (function (t) cons))
;; Non returning functions
(error (function (string &rest t) nil))
(signal (function (symbol t) nil)))
"Alist used for type propagation.")
(defconst comp-known-func-cstr-h