Opened 15 years ago
Closed 13 years ago
#96 closed defect (fixed)
Lambda list &rest interpreter error
Reported by: | Mark Evenson | Owned by: | ehuelsmann |
---|---|---|---|
Priority: | minor | Milestone: | 0.26 |
Component: | interpreter | Version: | |
Keywords: | compiler lambda | Cc: | |
Parent Tickets: |
Description
The following lambda list
(defun hashmap-to-hashtable (&key (k #'identity) &rest rest) (let ((foo)))
fails to compile with the error
&REST/&BODY must be followed by a variable.
Reported by Alan Ruttenberg
Change History (3)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Component: | compiler → interpreter |
---|---|
Summary: | Lambda list &rest compilation error → Lambda list &rest interpreter error |
As Alessio points out, &rest has to be specified before &key arguments, so this is a problem with the interpreter, not the compiler.
comment:3 Changed 13 years ago by
Milestone: | unscheduled → 0.26 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
0.26 reports
"&REST/&BODY must precede &KEY"
which is the correct error to show.
Note: See
TracTickets for help on using
tickets.
The error is in JVM::REWRITE-LAMBDA.