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

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

bug#32506: 27.0.50; loop regression


From: Noam Postavsky
Subject: bug#32506: 27.0.50; loop regression
Date: Wed, 29 Apr 2020 14:27:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt)

tags 32506 fixed
close 32506 27.0.90
quit

Helmut Eller <eller.helmut@gmail.com> writes:

> With Emacs25 this
>
> (require 'cl)
>
> (defun foo (vector)
>   (loop for i from -1
>       for exp = 0 then (list exp e i)
>       for e across vector
>       finally (return exp)))
>
> (assert (equal (foo [a b]) '((0 a 0) b 1)))
>
> works as it should.  With the current Emacs version (foo [a b])
> incorrectly returns (0 a 0).

This was fixed by [1: 045cfbef09a].

[1: 045cfbef09a]: 2019-11-22 15:53:58 +0100
  Refix conditional step clauses in cl-loop
  
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=045cfbef09a67c334e4772cb045181cf2203d839





reply via email to

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