Fix defmethod arglists leaking into make-method-lambda.
authorStas Boukarev <stassats@gmail.com>
Thu, 31 Oct 2013 14:47:09 +0000 (18:47 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 31 Oct 2013 14:48:26 +0000 (18:48 +0400)
commitadcb5a9772b488fce8d0b0195bc6b906a0e69e12
treeaacccdf3e3f72f837756133bb261f4734f8f561a
parent062283b901155792f65775491aea51481c56faaa
Fix defmethod arglists leaking into make-method-lambda.

defmethod communicates to make-method-lambda using special variables,
but make-method-lambda then performs code-walking which expands
macros, and if a macro calls another make-method-lambda directly, this
make-method-lambda will receive incorrect information which may cause
problems with wrong lambda lists.
Reported and diagnosed by Attila Lendvai.
src/pcl/boot.lisp
tests/clos.impure.lisp