Empty VALUES place inside another VALUES place
Bug #1806478 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Reading the standard, this should be ok:
(setf (values (values)) 1)
(and it should discard the value 1). Instead, this causes an error:
Execution of a form compiled with errors.
Form:
(LET* ((NIL 1))
(VALUES (VALUES)))
Compile-time error:
NIL cannot be used as a local variable.
[Condition of type SB-INT:
This fails similarly in CCL, but works in CLISP and ECL.
description: | updated |
description: | updated |
summary: |
- Empty VALUES place inside another VALUES places + Empty VALUES place inside another VALUES place |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for this bug.