[lift-devel] ECL can't compile reports.lisp: Iteration in LOOP follows body code.

Anton Vodonosov avodonosov at yandex.ru
Mon Jan 9 14:59:01 UTC 2012


One more case. See the patch attached.

09.01.2012, 17:15, "Gary King" <gwking at metabang.com>:
> Thanks Anton,
>
> Fix pushed to https://github.com/gwkkwg/lift/commit/ae04ac38a297dca04645a47de6ad342bcbf17c36
>
> On Jan 9, 2012, at 6:23 AM, Anton Vodonosov wrote:
>
>>  When running tests of some Lift-using libraries,
>>  ECL fails to compile fle dev/reports.lisp with the following error:
>>
>>  Iteration in LOOP follows body code.
>>  Current LOOP context: LIFT::FOR (LIFT::SUITE LIFT::TEST-NAME LIFT::DATUM) = (FIRST REST) DO.
>>
>>  I googled for this error message, and found the following thread:
>>  http://comments.gmane.org/gmane.lisp.ecl.general/3344.
>>
>>  If I understand correctly, loops like this
>>
>>     (loop for rest = tests then (rest rest)
>>        while rest
>>        for (suite test-name datum) = (first rest) do
>>
>>  are violating the standard (according Juan Jose), because the "for" clause follows the "while".
>>
>>  Best regards,
>>  - Anton
>>
>>  _______________________________________________
>>  lift-devel mailing list
>>  lift-devel at common-lisp.net
>>  http://lists.common-lisp.net/cgi-bin/mailman/listinfo/lift-devel
>
> --
> Gary Warren King, metabang.com
> Cell: (413) 559 8738
> Fax: (206) 338-4052
> gwkkwg on Skype * garethsan on AIM * gwking on twitter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop-for.patch
Type: application/octet-stream
Size: 574 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/lift-devel/attachments/20120109/94259edc/attachment.obj>


More information about the lift-devel mailing list