W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 19777] New: Grammar issue with qualified operations

From: <bugzilla@jessica.w3.org>
Date: Tue, 30 Oct 2012 13:13:58 +0000
To: public-script-coord@w3.org
Message-ID: <bug-19777-3890@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:07 UTC