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

Yadu Nand yadudoc1729 at gmail.com
Mon Mar 11 09:16:34 CDT 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nested_loops.output
Type: application/octet-stream
Size: 36364 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20130311/2b04f79f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_run.swift
Type: application/octet-stream
Size: 591 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20130311/2b04f79f/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faster_nested_loops.output
Type: application/octet-stream
Size: 2879 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20130311/2b04f79f/attachment-0002.obj>


More information about the Swift-devel mailing list