Bug: (for X previous Y ...) does not check existence of Y
Ilya Perminov
iperminov at dwavesys.com
Tue Jan 16 01:12:08 UTC 2018
Hello,
Iterate silently ignores "for ... previous" clauses that reference undefined variables, e.g,
(iter (repeat 2)
(for x previous y initially 0)
(collect x))
returns (0 0).
A patch to fix the bug is attached. Can someone apply it please.
Thanks,
Ilya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/iterate-devel/attachments/20180116/ad023a88/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iterate.patch
Type: text/x-patch
Size: 1461 bytes
Desc: iterate.patch
URL: <https://mailman.common-lisp.net/pipermail/iterate-devel/attachments/20180116/ad023a88/attachment.bin>
More information about the iterate-devel
mailing list