mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-21 03:51:47 -08:00
predlib: fix a braino in one of the clauses of CANONICAL-TYPE
Instead of returning the registered tag (when found), we've returned NIL.
This commit is contained in:
parent
47c17cbfa2
commit
dceff25679
1 changed files with 2 additions and 2 deletions
|
|
@ -1587,8 +1587,8 @@ if not possible."
|
|||
(t
|
||||
(ext:if-let ((expander (get-sysprop (first type) 'DEFTYPE-DEFINITION)))
|
||||
(canonical-type (funcall expander type env) env)
|
||||
(unless (find-registered-tag (first type) #'eql)
|
||||
(throw '+canonical-type-failure+ nil))))))
|
||||
(or (find-registered-tag (first type) #'eql)
|
||||
(throw '+canonical-type-failure+ nil))))))
|
||||
((clos::classp type)
|
||||
(register-class type env))
|
||||
((and (fboundp 'function-type-p) (function-type-p type))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue