GNU bug report logs - #42671
28.0.50; Edebugging secondary CL methods generates duplicate symbols

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sun, 2 Aug 2020 11:06:01 UTC

Severity: normal

Found in version 28.0.50

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 42671-done <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: 42671-done <at> debbugs.gnu.org
Subject: Re: bug#42671: 28.0.50; Edebugging secondary CL methods generates
 duplicate symbols
Date: Sun, 2 Aug 2020 16:26:43 +0200
Am So., 2. Aug. 2020 um 13:06 Uhr schrieb Philipp Stephani
<p.stephani2 <at> gmail.com>:
>
>
> Create a file /tmp/defmethod.el:
>
> $ cat /tmp/defmethod.el
> (cl-defmethod foo ((_ number)))
> (cl-defmethod foo :around ((_ number)))
>
> These two methods have identical signatures and names, yet they are
> different because the second one is a secondary method.  If you then
> instrument (C-u C-M-x) both of them, Edebug will generate the duplicate
> symbol `foo ((_ number))'.  A symptom is the message
>
> Edebug: foo ((_ number)) [2 times]
>
> appearing twice in the *Messages* buffer.  This is a problem when using
> Edebug for code coverage, as the coverage reporting for one of them will
> be wrong.  Edebug already attempts to include the signature in the
> generated symbol; it should also include all qualifiers.

Fixed with commit e6eb554b95.




This bug report was last modified 4 years and 290 days ago.

Previous Next


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