<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Yadu,<div><br></div><div>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.</div><div><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Yadu Nand" <yadudoc1729@gmail.com><br><b>To: </b>"swift-devel" <swift-devel@ci.uchicago.edu><br><b>Sent: </b>Friday, March 1, 2013 8:49:42 AM<br><b>Subject: </b>[Swift-devel] Scripts with Iterate fails to compile<br><br><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I'm seeing my scripts fail to compile just as the scripts in swift tests fail with the same error:</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div>yadu@Miranda:~/swift-0.94/cog/modules/swift/tests/apps$ swift 050-stomp-skel-1.swift</div><div>Warning: Function toint is deprecated, at 9</div>
<div>Could not start execution</div><div><span style="white-space:pre-wrap"> </span>Failed to convert .swiftx to .kml for 050-stomp-skel-1.swift</div><div><span style="white-space:pre-wrap"> </span>no such attribute: refs in template context [iterate]</div>
</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
The script I wrote which doesn't compile is here -> </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><a href="https://github.com/yadudoc/swift-basics/blob/master/stress/x_iterate.swift" target="_blank" style="color:rgb(17,85,204)">https://github.com/yadudoc/swift-basics/blob/master/stress/x_iterate.swift</a></div>
<div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">My tests were on swift 0.94 run on my laptop (ubuntu 12.04).</span></div><div><br></div>
-- <br>
Thanks,<br>Yadu Nand B<br>
<br>_______________________________________________<br>Swift-devel mailing list<br>Swift-devel@ci.uchicago.edu<br>https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel<br></blockquote><br></div></div></body></html>