[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: byte-compile-preprocess+cconv seem to mutate self evaluating forms i
From: |
Stefan Monnier |
Subject: |
Re: byte-compile-preprocess+cconv seem to mutate self evaluating forms in expanded macros |
Date: |
Fri, 20 Jan 2023 08:03:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
> While working on scratch/comp-static-data, which adds support for
> native compiling self evaluating forms in Lisp code as static consts in
> the eln (with immutability enforced additionally by `CHECK_IMPURE`), I
> noticed that compiling minor-mode definitions would result in a
> `pure_write_error`. This arises as cconv-closure-convert, called from
> `byte-compile-preprocess` would call `setcar` on a self evaluating
> interactive form as part of the minor-mode's function body.
Sounds like a bug. Can you `M-x report-emacs-bug` (and put me in
`X-Debbugs-Cc:`) so we get a bug#nb for it?
Stefan