GNU bug report logs - #23947
Regression in EIEIO

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Mon, 11 Jul 2016 17:29:02 UTC

Severity: normal

Found in version 25.0.95

Fixed in version 25.1

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 23947 <at> debbugs.gnu.org (full text, mbox):

From: Clément Pit--Claudel <clement.pit <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 23947 <at> debbugs.gnu.org
Subject: Re: bug#23947: Regression in EIEIO
Date: Tue, 12 Jul 2016 23:13:23 +0200
[Message part 1 (text/plain, inline)]
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 (application/pgp-signature, attachment)]

This bug report was last modified 9 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.