GNU bug report logs - #32506
27.0.50; loop regression

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Thu, 23 Aug 2018 07:18:02 UTC

Severity: normal

Tags: confirmed, fixed

Merged with 33890

Found in version 27.0.50

Fixed in version 27.0.90

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Helmut Eller <eller.helmut <at> gmail.com>
Cc: 32506 <at> debbugs.gnu.org, tino.calancha <at> gmail.com
Subject: bug#32506: 27.0.50; loop regression
Date: Mon, 27 Aug 2018 17:30:44 -0400
Helmut Eller wrote:

> 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).
[...]
> In GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
>  of 2018-08-23 built on caladan
> Repository revision: a4a3c92e9de59bd0251f36326375cce898919edc

Bisects to a0365437c9ee308ad7978e436631020f513b25e7 (bug#29799).
"cl-loop: Add missing guard condition"




This bug report was last modified 5 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.