using values-list with &rest fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun f (&rest data)
(let (foo bar)
(setf (values foo bar) (values-list data))
(list foo)))
fails with
The value
NIL
is not of type
SB-
On first glance, this appears to be somehow optimizer-related, as adding bar to the final list causes the function to behave as expected.
SBCL 1.4.14
(:X86-64 :64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :C-STACK-
Changed in sbcl: | |
status: | New → Confirmed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
7ae2d3b7ece1901 cd7cc7615ec0585 c4ee309fc5