[Bug 11451] Add a string enum type

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

--- Comment #12 from Cameron McCormack <cam@mcc.id.au> 2011-12-09 00:12:01 UTC ---
What should happen when passing an invalid string enum value to an operation?

  enum A { "x", "y" };
  interface B {
    void f(A a);
  };

  getB().f("z");

Doing nothing in f seems wrong.  Should we allow the invalid value to be passed
through, and require specs to define their behaviour for operations that take
invalid string enum values?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 9 December 2011 00:12:08 UTC