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 16:17:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix)

On Thu, 2021-03-04 at 21:09, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Joseph Mingrone <jrm@ftfl.ca> writes:

>> With

>>      ;;; -*- lexical-binding: t -*-

>>      (let ((foo t))
>>        (defvar tmp-bar foo))

>> the same warning is reported when compiling, but when loading the .elc
>> file, the debugger isn't started.  Just

>>      load: Symbol’s value as variable is void: foo

>> is reported.

> I can reproduce this problem here, too (and Emacs 27 doesn't have this
> problem).

> I have not tried to bisect this, but since Pip pushed a change related
> to this a couple days ago, I've added Pip to the CCs.

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.

Joe





reply via email to

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