[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23947: Regression in EIEIO
From: |
Clément Pit--Claudel |
Subject: |
bug#23947: Regression in EIEIO |
Date: |
Tue, 12 Jul 2016 23:13:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
On 07/12/2016 03:06 PM, Stefan Monnier wrote:
>>> + (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.
Thanks Stefan :)
signature.asc
Description: OpenPGP digital signature