]> git.eshelyaron.com Git - emacs.git/commit
Revert "cl-loop: Calculate the array length just once"
authorNoam Postavsky <npostavs@gmail.com>
Thu, 30 Apr 2020 11:54:49 +0000 (07:54 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 7 May 2020 12:23:56 +0000 (08:23 -0400)
commitde7158598fcd5440c0180ff6f83052c29e490bcd
tree8e0c7b89a7c0e6b738228a9b4cba3708bd9d8afe
parent2c905fb8a1d95a72e4b8a9b138458c86b099ced1
Revert "cl-loop: Calculate the array length just once"

It fails when using 'and' (parallel bindings) for arrays (Bug#40727).
* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause): Revert to
recomputing array length.
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-loop-and-arrays): New
test.
lisp/emacs-lisp/cl-macs.el
test/lisp/emacs-lisp/cl-macs-tests.el