Add `throw' to non returning functions
* lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Add throw.
This commit is contained in:
parent
807471f9ff
commit
9420ea6e08
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
;; Author: Andrea Corallo <akrl@sdf.com>
|
||||
|
||||
;; Copyright (C) 2019-2020 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2019-2021 Free Software Foundation, Inc.
|
||||
|
||||
;; Keywords: lisp
|
||||
;; Package: emacs
|
||||
|
@ -485,6 +485,7 @@ Useful to hook into pass checkers.")
|
|||
(comp-hint-fixnum (function (t) fixnum))
|
||||
(comp-hint-cons (function (t) cons))
|
||||
;; Non returning functions
|
||||
(throw (function (t t) nil))
|
||||
(error (function (string &rest t) nil))
|
||||
(signal (function (symbol t) nil)))
|
||||
"Alist used for type propagation.")
|
||||
|
|
Loading…
Add table
Reference in a new issue