bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23947: Regression in EIEIO


From: Stefan Monnier
Subject: bug#23947: Regression in EIEIO
Date: Tue, 12 Jul 2016 09:06:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> +               (apply code arg (cl--generic-name generic) (cons arg args))))

> Hmm, why does `code' receive `arg' twice? (once as the first arg and
> once as the third one)

Because that's how EIEIO's `no-applicable-method' was defined.
More specifically, it takes (obj method &rest args) where `obj' is the
first arg that was passed to the method and `args' is the complete list
of arguments that were passed to the method.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]