[Swift-devel] Scripts with Iterate fails to compile

David Kelly davidk at ci.uchicago.edu
Fri Mar 1 09:18:08 CST 2013


Yadu, 

The script you wrote works in 0.93, but fails in trunk/0.94. Setting an array element from within an iterate statement seems to fail. The nightly test group we run doesn't test for that at the moment - good catch. 

----- Original Message -----

> From: "Yadu Nand" <yadudoc1729 at gmail.com>
> To: "swift-devel" <swift-devel at ci.uchicago.edu>
> Sent: Friday, March 1, 2013 8:49:42 AM
> Subject: [Swift-devel] Scripts with Iterate fails to compile

> Hi,

> I'm seeing my scripts fail to compile just as the scripts in swift
> tests fail with the same error:

> yadu at Miranda:~/swift-0.94/cog/modules/swift/tests/apps$ swift
> 050-stomp-skel-1.swift
> Warning: Function toint is deprecated, at 9
> Could not start execution
> Failed to convert .swiftx to .kml for 050-stomp-skel-1.swift
> no such attribute: refs in template context [iterate]

> The script I wrote which doesn't compile is here ->
> https://github.com/yadudoc/swift-basics/blob/master/stress/x_iterate.swift

> My tests were on swift 0.94 run on my laptop (ubuntu 12.04).

> --
> Thanks,
> 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/20130301/49b16fc9/attachment.html>


More information about the Swift-devel mailing list