[Bug 19777] New: Grammar issue with qualified operations

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19777

          Priority: P2
            Bug ID: 19777
                CC: mike@w3.org, public-script-coord@w3.org
          Assignee: cam@mcc.id.au
           Summary: Grammar issue with qualified operations
        QA Contact: public-webapps-bugzilla@w3.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: robin@w3.org
          Hardware: PC
            Status: NEW
           Version: unspecified
         Component: WebIDL
           Product: WebAppsWG

If you track through the grammar, you get (removing paths irrelevant to this
problem):

InterfaceMember → AttributeOrOperationOrIterator
AttributeOrOperationOrIterator → Qualifier AttributeOrOperationRest
Qualifier → "static" | "stringifier"
AttributeOrOperationRest → OperationRest
OperationRest → OptionalIdentifier "(" ArgumentList ")" ";"

So putting all of that together, it's impossible to specify a return type for
static or stringifier operations. It should probably be ReturnType
OperationRest in there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 30 October 2012 13:14:05 UTC