GNU bug report logs - #66136
29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment

Previous Next

Package: emacs;

Reported by: "Jens Schmidt" <jschmidt4gnu <at> vodafonemail.de>

Date: Thu, 21 Sep 2023 13:12:02 UTC

Severity: normal

Found in version 29.1

Done: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 66136 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>,
 66136 <at> debbugs.gnu.org
Subject: Re: bug#66136: 29.1; byte-compiler reports "misplaced interactive
 spec" with empty fct in lexical environment
Date: Sat, 23 Sep 2023 12:08:02 -0400
> - `declare` is only allowed in named definitions because it is
> macro-expanded very early, so we have no way of annotating lambda
> expressions

It's not because of timing, it's because these `declare` all store their
info on the symbol (and some of them even fundamentally really apply to
the name and wouldn't make sense when applied to an anonymous function,
e.g. obsolescence).


        Stefan





This bug report was last modified 1 year and 299 days ago.

Previous Next


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