From avodonosov at yandex.ru Mon Jan 9 11:23:24 2012 From: avodonosov at yandex.ru (Anton Vodonosov) Date: Mon, 09 Jan 2012 15:23:24 +0400 Subject: [lift-devel] ECL can't compile reports.lisp: Iteration in LOOP follows body code. Message-ID: <699631326108204@web45.yandex.ru> 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 From gwking at metabang.com Mon Jan 9 13:15:31 2012 From: gwking at metabang.com (Gary King) Date: Mon, 9 Jan 2012 08:15:31 -0500 Subject: [lift-devel] ECL can't compile reports.lisp: Iteration in LOOP follows body code. In-Reply-To: <699631326108204@web45.yandex.ru> References: <699631326108204@web45.yandex.ru> Message-ID: <57EFEB8F-43D5-41FB-86BF-18879EC30C59@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 From avodonosov at yandex.ru Mon Jan 9 14:59:01 2012 From: avodonosov at yandex.ru (Anton Vodonosov) Date: Mon, 09 Jan 2012 18:59:01 +0400 Subject: [lift-devel] ECL can't compile reports.lisp: Iteration in LOOP follows body code. In-Reply-To: <57EFEB8F-43D5-41FB-86BF-18879EC30C59@metabang.com> References: <699631326108204@web45.yandex.ru> <57EFEB8F-43D5-41FB-86BF-18879EC30C59@metabang.com> Message-ID: <41311326121142@web1.yandex.ru> One more case. See the patch attached. 09.01.2012, 17:15, "Gary King" : > 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: From avodonosov at yandex.ru Mon Jan 9 14:55:43 2012 From: avodonosov at yandex.ru (Anton Vodonosov) Date: Mon, 09 Jan 2012 18:55:43 +0400 Subject: [lift-devel] MOP classes for ECL in packages.lisp Message-ID: <40361326120943@web1.yandex.ru> Please see the patch attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: mop-classes.patch Type: application/octet-stream Size: 337 bytes Desc: not available URL: