[armedbear-ticket] [armedbear] #241: &rest and &aux can't coexist anymore in lambda lists
armedbear
armedbear-devel at common-lisp.net
Sun Aug 26 12:05:14 UTC 2012
#241: &rest and &aux can't coexist anymore in lambda lists
-----------------------+----------------------------------------------------
Reporter: sboukarev | Owner: ehuelsmann
Type: defect | Status: new
Priority: major | Milestone: 1.1.0
Component: compiler | Version:
Keywords: |
-----------------------+----------------------------------------------------
(compile nil '(lambda (&rest foo &aux x)))
=>
The value FOO is not of type LIST.
And some illegal combinations are accepted:
(compile nil '(lambda (&aux x &rest)))
Treats &rest as a variable. Which is correct in theory, but highly
unlikely to be used on purpose.
(compile nil '(lambda (&rest args &optional x)))
(compile nil '(lambda (&key key &optional x)))
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/241>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
More information about the armedbear-ticket
mailing list