[Bug 20478] New: Grammar allows "static;" as a valid operation

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

            Bug ID: 20478
           Summary: Grammar allows "static;" as a valid operation
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: dom@w3.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

interface Foo {
 static;
};
is valid according to the grammar.

AttributeOrOperationOrIterator    →    Serializer
 | Qualifier AttributeOrOperationRest
 | Attribute
 | OperationOrIterator
Qualifier    →    "static"
 | "stringifier"
AttributeOrOperationRest    →    AttributeRest
 | ReturnType OperationRest
 | ";"

(with AttributeOrOperationRest = ";")

It probably should not.

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

Received on Friday, 21 December 2012 15:57:12 UTC