The value NIL is not of type SB-C::PHYSENV
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun f (stream)
(labels ((f1 (value)
(cond ((typep value 'integer) (f2 value))
(f2 (d)
(f1 (f5 d))
))))
===>
The value
NIL
is not of type
SB-C::PHYSENV
from the function type declaration.
[Condition of type TYPE-ERROR]
[...]
0: (SB-C::
1: (SB-C::
2: (SB-C::
[...]
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Another lambda that errors the same way:
(lambda (log)
(progn
(format log ""))
(let (x)
(loop for str in x
for i from 0
do (handler-case
(g2 str)
(error () nil)))))