#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)))