Re: [heycam/webidl] void -> undefined, and allow it anywhere. (#906)

> Does an argument typed undefined make sense? Should it be prevented?

By itself, like `DOMString foo(undefined bar)`? Probably not. In a union, tho, definitely yes. I don't think it's worth trying to grammar-finesse it out of existence; doing so wouldn't be avoiding any footguns, just complexifying the grammar.

-- 
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/906#issuecomment-670247392

Received on Thursday, 6 August 2020 23:56:09 UTC