unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53532: 29.0.50; Eager macroexpansion failure in corner case
@ 2022-01-25 19:45 Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-25 19:45 UTC (permalink / raw)
  To: 53532

Package: Emacs
Version: 29.0.50


    % make (with native compiler)
    [...]
    % touch lisp/emacs-lisp/{cl-macs,byte-opt,comp}.el
    % make -j4
    [...]
    Warning: Eager macro-expansion skipped due to cycle:
      … => (load "byte-opt.el") => (macroexpand-all (defalias 'byte-decompile-bytecode-1 …)) => (macroexpand (cl-symbol-macrolet …)) => (load "comp.el") => (macroexpand (eval-when-compile …)) => (load "byte-opt.el")
    [...]

I haven't yet managed to turn this eager-macroexpansion cycle warning
into an actual error, but it'd be good to get rid of this
cyclic dependency.

I'm not sure how we go from (macroexpand (cl-symbol-macrolet …)) to
loading `comp.el` but I suspect that's where the problem lies.


        Stefan






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-25 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25 19:45 bug#53532: 29.0.50; Eager macroexpansion failure in corner case Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).