[Swift-devel] Nested loops misbehaving [0.94 & Faster]

Tim Armstrong tim.g.armstrong at gmail.com
Mon Mar 11 09:39:59 CDT 2013


For 0.94, isn't it correct that it prints each combination 10 times because
of the 6th innermost foreach loop?

On Mon, Mar 11, 2013 at 9:16 AM, Yadu Nand <yadudoc1729 at gmail.com> wrote:

> Hi,
>
> I have 5 loops (foreach and iterate mixed) and I see indices repeating in
> the
> innermost loop body. This is causing the script to crash as the array
> content
> is already closed. This was run on 0.94 (rev 6364).
>
> On swift-faster this script fails to compile (I don't see any issue
> with the script,
> especially when it compiles and run on 0.94)
>
> I could have this checked for other nested loop combinations if that could
> help.
>
> The script and output are attached.
>
> --
> Regards,
> Yadu Nand B
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20130311/1b917961/attachment.html>


More information about the Swift-devel mailing list