Incorrect behavior of typep on complex numbers in compiled code
Bug #1733400 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(funcall (compile nil '(lambda (x) (typep (if x #c(0 -1/2) nil) '(complex (integer -1 0))))) t)
==>
NIL
(funcall (compile nil '(lambda (x) (declare (notinline typep)) (typep (if x #c(0 -1/2) nil) '(complex (integer -1 0))))) t)
==>
T
summary: |
- Strange behavior of typep on complex numbers in compiled code + Incorrect behavior of typep on complex numbers in compiled code |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
8926ae335050ee4 572140c3467410b 71cfbb8b3a