[Bug 25425] New: enum should be able to inherit from another enum

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

            Bug ID: 25425
           Summary: enum should be able to inherit from another enum
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: mounir@lamouri.fr
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

It would be pretty neat if we could declare:

enum Foo {
  "foo",
}

enum Bar : Foo {
  "bar",
}

I have this need for the Screen Orientation API and I sadly have to declare two
different overlapping enums.

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

Received on Wednesday, 23 April 2014 07:02:57 UTC