all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 23947@debbugs.gnu.org
Subject: bug#23947: Regression in EIEIO
Date: Tue, 12 Jul 2016 23:13:23 +0200	[thread overview]
Message-ID: <57855D73.5040901@gmail.com> (raw)
In-Reply-To: <jwv7fcr80to.fsf-monnier+bug#23947@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 523 bytes --]

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 :)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-07-12 21:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-11 17:27 bug#23947: Regression in EIEIO Stefan Monnier
2016-07-11 17:42 ` Clément Pit--Claudel
2016-07-12 13:06   ` Stefan Monnier
2016-07-12 21:13     ` Clément Pit--Claudel [this message]
2016-07-14 19:09     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57855D73.5040901@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=23947@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.