[heycam/webidl] Union types with colliding enum values (#219)

consider:

```webidl

enum A {
  "foo",
  "bar"
};

enum B {
  "foo",
  "baz"
};

interface C {
  attribute (A or B) prop;
};
```

what happens if we do `someC.prop = "foo"`?

I think probably we should just disallow union types where the flattened member types contain enums with conflicting values.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/219

Received on Wednesday, 2 November 2016 23:46:59 UTC