all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: 23947@debbugs.gnu.org
Subject: bug#23947: Regression in EIEIO
Date: Tue, 12 Jul 2016 09:06:03 -0400	[thread overview]
Message-ID: <jwv7fcr80to.fsf-monnier+bug#23947@gnu.org> (raw)
In-Reply-To: <5783DA94.4090500@gmail.com> ("Clément Pit--Claudel"'s message of "Mon, 11 Jul 2016 19:42:44 +0200")

>> +               (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	other threads:[~2016-07-12 13:06 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 [this message]
2016-07-12 21:13     ` Clément Pit--Claudel
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='jwv7fcr80to.fsf-monnier+bug#23947@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=23947@debbugs.gnu.org \
    --cc=clement.pit@gmail.com \
    /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.