The value NIL is not of type NUMBER in compiling lambda with case form, dead code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(lambda (b)
(declare (type (integer 605 829) b))
(case b ((2) b) ((-3 3 -4) 0) (t 0)))
==>
The value
NIL
is not of type
NUMBER
[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=32557 "repl-thread" RUNNING {1001908003}>)
Backtrace:
0: (SB-KERNEL:
1: ((LAMBDA (SB-ASSEM:SEGMENT SB-ASSEM::POSN) :IN "SYS:SRC;
2: (SB-ASSEM:
3: (SB-ASSEM:
4: (SB-ASSEM:
5: (SB-C::
6: (SB-C::
[...]
x86-64, "2.4.2.
Changed in sbcl: | |
status: | New → Fix Released |