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

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

Re: unused lexical variable in `cl-loop'


From: Stefan Monnier
Subject: Re: unused lexical variable in `cl-loop'
Date: Sat, 01 Oct 2022 11:10:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> (let ((one 1)  
>       (one 1) )
>   one)
>
> ;; Warning: Unused lexical variable `one'
> ;; Warning: Unused lexical variable `one'
>
> But if you do this ...
>
> (let ((one 1)
>       (one 2) )
>   one)
>
> You only get a warning for the first one ...

Ooh, that's a good one, thanks.  Sounds like a bug in `cconv.el` somewhere.


        Stefan




reply via email to

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