https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1351 Summary: informative error when using Swift keyword Product: Swift Version: trunk Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Error messages AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected] Just saw a user defining an app as: app (file out) myapp (file exe, file in){ bash @exe @in stdout=@out; } The error he was facing is: Could not compile SwiftScript source: line 3:24: expecting an identifier, found 'in' Replacing 'in' with '_in' fixed the error. The error message should be more explicit in saying that 'in' is a Swift keyword and can not be used as a variable (if that is the cause of the error, which I think is). Thanks, Ketan -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.