Error w. dynamic-extent present
Bug #2031939 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun f219 (&rest args) (apply #'elt args))
(declaim (notinline f219))
(defun bug219 (c)
(let ((v (list (vector 0 0 0 0)
(declare (dynamic-extent v))
(f219 (f219 v 0) 3)))
(bug219 1) ==> ; should be 0
The value
((1) . 1)
is not of type
VECTOR
[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=31261 "repl-thread" RUNNING {10012A8003}>)
Backtrace:
0: (SB-VM:
1: (BUG219 1)
[...]
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in b38992572b1f81f b092e3a9bd1a8fb d9bf5718eb (with a similar test case)