The value NIL is not of type SB-C::IR2-LVAR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(lambda (a b)
(declare (type fixnum b))
(/= 0 (setq a 1) b))
==>
The value
NIL
is not of type
SB-C::IR2-LVAR
[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=4253 "repl-thread" RUNNING {1000F80003}>)
Backtrace:
0: (SB-C::
1: (SB-C::
2: (SB-C::
3: (SB-C:IR2-CONVERT #<SB-C:COMPONENT :NAME "<unknown>" {100C174DF3}>)
4: (SB-C::
5: (SB-C::
6: (SB-C::%COMPILE (LAMBDA (A B) (DECLARE (TYPE FIXNUM B)) (/= 0 (SETQ A 1) B)) NIL NIL)
[...]
x86-64, "2.4.1.
Changed in sbcl: | |
status: | New → Fix Released |