- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 02 Nov 2016 16:46:27 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Wednesday, 2 November 2016 23:46:59 UTC
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