[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
bug#71555: 29.3.50; Native-compilation sets some variable to nil unexpectedly., Eli Zaretskii, 2024/06/17
bug#71555: 29.3.50; Native-compilation sets some variable to nil unexpectedly., Mattias Engdegård, 2024/06/17