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

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

bug#29799: 24.5; cl-loop guard clause missing


From: Lars Ingebrigtsen
Subject: bug#29799: 24.5; cl-loop guard clause missing
Date: Fri, 22 Nov 2019 13:55:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

dick.r.chiang@gmail.com writes:

> I noticed the following cases stopped working after commit a036543.
>
> ;; should not fail
> (cl-loop for i from 1 upto 100 and j = 1 then (1+ j)
>          do (cl-assert (= i j) t)
>          until (> j 10))
>
> ;; should return (1 0)
> (cl-loop with result
>          for x below 3
>          for y below 2
>          and z = (progn (push x result) nil)
>          finally return result)

I applied the patch and ran that test case, and it returned
(2 1 0).  But shouldn't it return (2 1)?

-- 
(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]