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

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

bug#56416: 29.0.50; cl-loop cl-psetq problem


From: Lars Ingebrigtsen
Subject: bug#56416: 29.0.50; cl-loop cl-psetq problem
Date: Wed, 06 Jul 2022 13:41:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Sean Whitton <spwhitton@spwhitton.name> writes:

> Evaluating
>
> (cl-loop with list = '(1 2 3 4)
>
>        for l in list
>        for x = l and y = l
>
>        collect x)
>
> yields (1 1 2 3) but it should yield (1 2 3 4).

It's the `and' that's triggering this bug, I guess?

I seem to vaguely recall Mattias doing something about these corner
cases -- I may totally misremember, but I've added him to the CCs
anyway; perhaps he has a comment.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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