The value NIL is not of type SB-C::IR2-BLOCK
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(lambda (a)
(declare (type fixnum a))
(unwind-protect 0
(svref #(216424 738192)
(min 1 (max 0 (case a ((-1 -3 0 -5) a) (t 1)))))))
==>
The value
NIL
is not of type
SB-C::IR2-BLOCK
[Condition of type TYPE-ERROR]
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [*ABORT] Return to SLIME's top level.
2: [ABORT] abort thread (#<THREAD tid=5840 "repl-thread" RUNNING {10103880A3}>)
Backtrace:
0: (SB-C::BLOCK-LABEL #<SB-C::CBLOCK 12 :START c1 {100E576053}>)
1: (SB-C::
2: (SB-C::
3: (SB-C::
4: (SB-C:IR2-CONVERT #<SB-C:COMPONENT :NAME "<unknown>" {100E576373}>)
5: (SB-C::
6: (SB-C::
7: (SB-C::%COMPILE (LAMBDA (A) (DECLARE (TYPE FIXNUM A)) (UNWIND-PROTECT 0 (SVREF # #))) NIL NIL)
[...]
x86-64, "2.4.2.
Changed in sbcl: | |
status: | New → Fix Released |