LOOP WITH can't destructure short lists/NIL
Bug #695286 reported by
3b
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Low
|
Unassigned |
Bug Description
(loop with (a b) = (list) repeat 1 collect (list a b)) ;; using (list) here since plain NIL apparently gets optimized away
gives the following error:
error while parsing arguments to DESTRUCTURING-BIND:
invalid number of elements in
()
to satisfy lambda list
(A B &REST #:LOOP-
at least 2 expected, but 0 found
[Condition of type SB-KERNEL:
Expected results: ((NIL NIL))
tested on sbcl "1.0.44.36", x8664 linux
Changed in sbcl: | |
importance: | Undecided → Low |
Changed in sbcl: | |
assignee: | Roman Marynchak (roman-marynchak) → nobody |
status: | In Progress → Triaged |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Seems to be the real bug in our LOOP, marking it as confirmed. I hope to look into this one in the near future.