TYPE-OF not returning recognizable subtype of COMPILED-FUNCTION on builtin functions
Bug #1906583 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Douglas Katzman |
Bug Description
(type-of #'cons) ==> FUNCTION
(typep #'cons 'compiled-function) ==> T
(subtypep (type-of #'cons) 'compiled-function) ==> NIL, T
clhs type-of:
1. For any object that is an element of some built-in type:
a. the type returned is a recognizable subtype of that built-in type.
and compiled-function is a built-in type.
(test type-of.1 in ansi-tests)
Changed in sbcl: | |
assignee: | nobody → Douglas Katzman (dougk) |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is either exactly the same as or related to https:/ /bugs.launchpad .net/sbcl/ +bug/1537003