Attached is a patch and some tests for bug 38:
"DEFMETHOD doesn't check the syntax of &REST argument lists properly,
accepting &REST even when it's not followed by an argument name:
(DEFMETHOD FOO ((X T) &REST) NIL)"
The buggy behavior also happened for DEFGENERIC, which has been
I've also worked on a FIXME, because I think SBCL should signal an
error, in case there is a non-standard lambda-list-keyword in the
argument-list, e.g. (DEFMETHOD FOO ((X T) &REST Y &WHOLE Z) NIL)
should probably signal an error. (similar to DEFGENERIC).
Martin Atzmueller <martin@...>
From: William Harold Newman <william.newman@ai...> - 2002-01-10 02:20:20
On Mon, Jan 07, 2002 at 06:09:51PM +0100, Martin Atzmueller wrote:
> Attached is a patch and some tests for bug 38:
OK, I've merged it in sbcl-0.pre7.120. Thank you.
William Harold Newman <william.newman@...>
"Our users will know fear and cower before our software! Ship it! Ship
it and let them flee like the dogs they are!" -- Klingon programmer
PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C