[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41989: 28.0.50; Edebug doesn't generate symbols for `cl-flet' etc.
From: |
Philipp Stephani |
Subject: |
bug#41989: 28.0.50; Edebug doesn't generate symbols for `cl-flet' etc. |
Date: |
Sun, 2 Aug 2020 17:42:12 +0200 |
Am So., 21. Juni 2020 um 19:04 Uhr schrieb Philipp <p.stephani2@gmail.com>:
>
>
> Edebug (using C-u C-M-x) a function like the following:
>
> (defun bar ()
> (cl-flet ((foo () 1)) (foo))
> (cl-flet ((foo () 2)) (foo)))
>
> *Messages* will now contain
>
> Edebug: foo [4 times]
> Edebug: bar
>
> Note how `foo' has been instrumented 4 times. A factor of 2 is due to
> Bug#41988; another factor of 2 is due to Edebug not generating a unique
> symbol. Edebug should generate symbols such as `bar@foo@1' and
> `bar@foo@2' for these definitions.
>
I've partially fixed this with commit d8ab98843e. It's not completely
fixed because Edebug doesn't yet detect the outer definition and adds
it to the inner symbol.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#41989: 28.0.50; Edebug doesn't generate symbols for `cl-flet' etc.,
Philipp Stephani <=