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

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

bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (vo


From: Joseph Mingrone
Subject: bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (void-variable foo)
Date: Thu, 04 Mar 2021 19:15:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix)

On Thu, 2021-03-04 at 21:08, Pip Cet <pipcet@gmail.com> wrote:

> On Thu, Mar 4, 2021 at 8:48 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
>> Joseph Mingrone <jrm@ftfl.ca> writes:
>> > I think the problem was introduced before 9b4a2dd (2021-02-14).  That
>> > was the last snapshot that I was running and I'm pretty sure I saw the
>> > problem then.  If I can find time tonight, I'll try to confirm that.

>> Great; bisecting this would be very helpful.

> Absolutely.

>> Pip Cet <pipcet@gmail.com> writes:

>> > I can reproduce it, three, but I can also reproduce it with the change
>> > I think you're referring to reverted.

>> Sorry about that; it was a stab in the dark using the "the one who
>> touched it last" principle.  :-/

> Not a problem at all. In fact, I've taken a look and it seems
> byte-optimize-form-code-walker simply ignores the value form in a
> defvar now..

> So I suspect it's commit 83983b6b7a115474572973b62eb5e42251713e63, I'm
> cc'ing Mattias, and I suspect this patch might help (but I've only
> done one quick test).

> Pip

With this patch applied to 20596a5, I still see the problems Vitalie
reported.

Joe





reply via email to

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