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

> @saschanaz per
> 
> > If the Type of an operation argument is an identifier followed by ?, then the identifier must identify an interface, enumeration, callback function, callback interface, or typedef. If the operation argument type is an identifier not followed by ?, then the identifier must identify any one of those definitions or a dictionary.
> 
> that is disallowed. I would be curious about the cases where we still allow T? with T being a dictionary and if they occur in practice. It seems like that would be return values and attributes? (It's also explicitly disallowed for nested dictionaries.)
> 
> If we can completely disallow it I think that would be better.

Ah right, but not everywhere though. 

-- 
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-799690197

Received on Monday, 15 March 2021 19:25:00 UTC