bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42671: 28.0.50; Edebugging secondary CL methods generates duplicate


From: Philipp Stephani
Subject: 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@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]