Type error from bad SVREF call escapes compiler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun bug008 (n)
(let ((p (make-array n :initial-element nil)))
(unless (svref p 0)
(svref p nil))))
==>
The value
NIL
is not of type
REAL
[Condition of type TYPE-ERROR]
Restarts:
0: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: ((SB-C:DEFTRANSFORM SB-KERNEL:
1: (SB-C::
2: (SB-C::IR1-OPTIMIZE #<SB-C:COMPONENT :NAME BUG008 :REANALYZE T {101EA2E363}> NIL)
3: (SB-C::
4: (SB-C::
5: (SB-C::IR1-PHASES #<SB-C:COMPONENT :NAME BUG008 :REANALYZE T {101EA2E363}>)
6: (SB-C::
[...]
Changed in sbcl: | |
status: | New → Confirmed |
Changed in sbcl: | |
status: | Confirmed → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |