Re: [heycam/webidl] Dictionary types being nullable doesn't make sense (#967)

That's only if the union type does not include a nullable type, due to step 1:

> If the union type includes a nullable type and V is null or undefined, then return the IDL value null.

Looking at https://heycam.github.io/webidl/#es-dictionary I don't think nested dictionaries are a concern.

So I think I agree that we can disallow explicitly nullable dictionaries.

Is `(DOMString? or MyDict)` disallowed as well? I guess it should be?

-- 
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/967#issuecomment-799547494

Received on Monday, 15 March 2021 16:15:33 UTC