Re: [heycam/webidl] More fixes for `undefined` (#965)

Ready for review now!

Based on discussion in #962:

* `undefined` is *not* distinguishable from dictionary types; `(undefined or MyDict)` is invalid
* `undefined` *is* nullable; `undefined?` is valid (will return an IDL null for a JS null, or IDL undefined for anything else)
* `undefined` is *technically* implicitly nullable, since it converts *anything* into itself, per previous spec text and `void` behavior

-- 
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/pull/965#issuecomment-799811650

Received on Monday, 15 March 2021 23:02:27 UTC