[Bug 1028] New: readData in a foreach loop fails to compile.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1028 Summary: readData in a foreach loop fails to compile. Product: Swift Version: 0.94 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] Here's the piece of code that fails to compile : type file; app (file o) mysim () { random stdout=@filename(o); } int rand_num[]; foreach i in [0:9] { file f <single_file_mapper; file=@strcat("output/sim_",i,".out")>; f = mysim(); rand_num[i] = readData(f); } Here's the output I get when compiling the code: Could not start execution Failed to convert .swiftx to .kml for bug.swift no such attribute: partialClose in template context [callInternal] -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1028 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Mihael Hategan <[email protected]> 2013-07-16 14:53:16 --- Fixed in trunk and 0.94 (r6654, r6655). -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov