Re: [heycam/webidl] Given [Constructor, Constructor(DOMString x)], new C(undefined) picks the second (#351)

Yeah, this design is also deliberately used by XMLHttpRequest's open(). Avoid overloads if you don't want weird cases and use unions and optional instead.

-- 
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/351#issuecomment-297257907

Received on Wednesday, 26 April 2017 06:58:26 UTC