GNU bug report logs -
#28958
26.0.90; Edebug can't step into methods defined with cl-defgeneric
Previous Next
Reported by: Gemini Lasswell <gazally <at> runbox.com>
Date: Mon, 23 Oct 2017 19:06:01 UTC
Severity: normal
Found in version 26.0.90
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 28958 <at> debbugs.gnu.org (full text, mbox):
Gemini Lasswell <gazally <at> runbox.com> writes:
> To reproduce, put the following code into *scratch* and eval-buffer
> it:
>
> (cl-defgeneric my-func (x)
> (:method ((x integer)) (message "%s is an integer" x))
> (:method ((x string)) (message "%s is a string" x))
> (message "%s is something else" x))
>
> (defun use-my-func ()
> (my-func "hello")
> (my-func 3)
> (my-func 'foo))
>
> Then navigate to the definition of use-my-func and:
>
> C-u C-M-x
> M-: (use-my-func) RET
> i
I'm unable to reproduce this on the Emacs trunk, and I see that the
debug definition has changed substantially since 26.0, so I'm closing
this bug report. If this still is a problem, please reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 6 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.