[Swift-devel] [Bug 105] New: syntax error vague when argument type is missing

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Thu Oct 4 23:46:09 CDT 2007


http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=105

           Summary: syntax error vague when argument type is missing
           Product: Swift
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: SwiftScript language
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: wilde at mcs.anl.gov


In the code:
(messagefile t) echo ( file p1, file p2, string s1, string s2 ) {
    app {
        echo @p1 @p2 s1 s2 stdout=@filename(t);
    }
}

if "file" is missing and arg list reads:
(messagefile t) echo ( p1, p2, string s1, string s2 )

then the syntax error message points to the "(" after "echo" instead of saying
"parameter type is missing".


-- 
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



More information about the Swift-devel mailing list