[Swift-devel] [Bug 97] New: SwiftScript parser seems to get upset with mappers that have no parameters.

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Fri Sep 28 10:27:15 CDT 2007


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

           Summary: SwiftScript parser seems to get upset with mappers that
                    have no parameters.
           Product: Swift
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: minor
          Priority: P2
         Component: SwiftScript language
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: benc at hawaga.org.uk


eg:

type file;
file f <my_first_mapper;a="b">;
print(@f);

works but

type file;
file f <my_first_mapper;>;
print(@f);

doesn't.

Workaround is to specify a dummy parameter:
file f <my_first_mapper;a="b">;


This is with r1278.


-- 
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.
You are the assignee for the bug, or are watching the assignee.



More information about the Swift-devel mailing list