[Swift-devel] Nested loops misbehaving [0.94 & Faster]
Yadu Nand
yadudoc1729 at gmail.com
Mon Mar 11 09:53:47 CDT 2013
Oops. My mistake. Script work fine after correction.
Thanks Tim :)
-Yadu
On Mon, Mar 11, 2013 at 8:09 PM, Tim Armstrong
<tim.g.armstrong at gmail.com> wrote:
> 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
>>
>
More information about the Swift-devel
mailing list