using values-list with &rest fails

Bug #1836096 reported by Samuel Jimenez on 2019-07-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

(defun f (&rest data)
   (let (foo bar)
      (setf (values foo bar) (values-list data))
      (list foo)))

fails with

The value
  is not of type

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


Stas Boukarev (stassats) on 2019-07-10
Changed in sbcl:
status: New → Confirmed
Stas Boukarev (stassats) wrote :


Changed in sbcl:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers