LOOP: warn when mis-destructuring with lambda list arguments

Bug #1821962 reported by Michał "phoe" Herda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

The LOOP macro uses its own destructuring, and not the mechanism found in destructuring lambda lists. Therefore, in (loop :for (x &rest y) := ...), LOOP will bind three variables: X, &REST, and Y.

SBCL could detect lambda list keywords passed to such variable lists and warn the programmer at compile-time that they are about to make a mistake.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.