[Swift-devel] Scripts with Iterate fails to compile
Mihael Hategan
hategan at mcs.anl.gov
Fri Mar 1 12:38:41 CST 2013
This seems to indicate that the variable closing reference counting is
in 0.94. Are we sure we want that?
Mihael
On Fri, 2013-03-01 at 09:18 -0600, David Kelly wrote:
> 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
> 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.
>
>
> ______________________________________________________________________
> 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).
>
>
> _______________________________________________
> 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