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

Gary King gwking at metabang.com
Mon Jan 9 13:15:31 UTC 2012


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





More information about the lift-devel mailing list