[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master e2ee646b162: cl-defsubst: Use static scoping for args
From: |
Stefan Monnier |
Subject: |
Re: master e2ee646b162: cl-defsubst: Use static scoping for args |
Date: |
Tue, 27 Jun 2023 16:28:51 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> This breaks the tests:
>
> --8<---------------cut here---------------start------------->8---
> # make -C test cl-macs-tests
> make: Entering directory '/home/albinus/src/emacs/test'
> make[1]: Entering directory '/home/albinus/src/emacs/test'
> ELC lisp/emacs-lisp/cl-macs-tests.elc
>
> In toplevel form:
> lisp/emacs-lisp/cl-macs-tests.el:815:39: Warning: Lexical argument shadows
> the dynamic variable cl--test-a
> lisp/emacs-lisp/cl-macs-tests.el:816:45: Error: symbol-value cannot use
> lexical var `cl--test-a'
> make[1]: *** [Makefile:159: lisp/emacs-lisp/cl-macs-tests.elc] Error 1
> make[1]: Leaving directory '/home/albinus/src/emacs/test'
> make: *** [Makefile:247: lisp/emacs-lisp/cl-macs-tests] Error 2
> make: Leaving directory '/home/albinus/src/emacs/test'
> --8<---------------cut here---------------end--------------->8---
Indeed, thanks. Actually that error should have been a warning.
I believe it is now fixed on `master`. I also silenced the warnings,
while at it.
Stefan