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

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

bug#71555: 29.3.50; Native-compilation sets some variable to nil unexpec


From: Andrea Corallo
Subject: bug#71555: 29.3.50; Native-compilation sets some variable to nil unexpectedly.
Date: Mon, 17 Jun 2024 10:38:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Sévère Durand <mmemmew@gmail.com> writes:

> Hello Mr.Andrea:
> Thanks for the suggestion.
> Unfortunately when I tried the afore-mentionned snippet with `(declare (speed 
> 0))` added after the documentation string
> of the `test` function, the execution results still indicate that the START 
> variable is unexpectedly set to nil, for some
> reason.

I think it's because you are giving to the native compiler an already
defined function to compile.

If you use M-x emacs-lisp-native-compile-and-load or (load
(native-compile FILE)) it will work.  I tried the first on 29 and work
around the original issue successfully.

BTW I believe this different handling of the declare could be worth a
separate bug.

Thanks

  Andrea





reply via email to

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