Another failure in CASE form
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Douglas Katzman |
Bug Description
(lambda (b)
(case b
((4 1 2 3) 0)
((2 4) (mod b (min -49 0)))
(t 0)))
==>
The value
NIL
is not of type
SB-C:TN-REF
[Condition of type TYPE-ERROR]
Restarts:
0: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: (SB-C::
1: (SB-C::DELETE-VOP #<SB-C::VOP :INFO SB-C:CALL-NAMED :ARGS #<SB-C:TN-REF :TN #<SB-C:TN t2[RSP] :NORMAL> :WRITE-P NIL :VOP SB-C:CALL-NAMED> :RESULTS #<SB-C:TN-REF :TN #<SB-C:TN t1 :UNUSED> :WRITE-P T :V..
2: (SB-C::
3: (SB-C::IR2-OPTIMIZE #<SB-C:COMPONENT :NAME (LAMBDA (B)) {1009DFB9F3}>)
[…]
Changed in sbcl: | |
assignee: | nobody → Douglas Katzman (dougk) |
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Similar failure on
(lambda (s1 s2 c)
(case s2
((2) s2)
((2) (mod s1 (max 9 0)))
((1 4) 0)
((-1) c)
(t 0)))