Re: [heycam/webidl] Conversion for (SomeDictionary or sequence<T>) seems incorrect (#123)

This is definitely an IDL spec bug.  Compare https://heycam.github.io/webidl/#es-overloads which checks for sequences in step 13 and dictionaries in step 14.  That is the intended behavior of this stuff, union handling is supposed to match overload resolution in terms of its behavior, and yes we purposefully added a way to distinguish dictionaries from sequences; see .https://github.com/heycam/webidl/pull/19/

I tried looking up the blame to see when the discrepancy crept in, but there are too many unrelated changes and identical-looking diffs involved to figure it out.  Anyway, we should just fix this.

---
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/123#issuecomment-220334999

Received on Thursday, 19 May 2016 14:08:08 UTC