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

It is, but it would require adding `ReturnType` back in *and* making it more complex, duplicating the `Union` grammars into `Return*` variants that allow `undefined`.

Like I said, tho, I don't think this is a footgun that we actually need to protect anyone against. We can put in a prose restriction if y'all feel it's absolutely necessary, but I *really* don't want to enforce this in 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-670562657

Received on Friday, 7 August 2020 15:06:19 UTC