Destructuring bind failures in compiler on syntactically defective code
Bug #1738638 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Low
|
Douglas Katzman |
Bug Description
(compile nil '(lambda (&key ((x) 1)) x))
==>
error while parsing arguments to DESTRUCTURING-BIND:
too few elements in
(X)
to satisfy lambda list
(SB-
exactly 2 expected, but got 1
[Condition of type SB-KERNEL:
Changed in sbcl: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in sbcl: | |
assignee: | nobody → Jan Moringen (scymtym) |
tags: | added: malformed-source |
Changed in sbcl: | |
status: | Triaged → In Progress |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is just one example of how that can failure. Very easy to generate other defective lambda lists that cause unhandled errors to be thrown.