- From: Tab Atkins Jr. <notifications@github.com>
- Date: Fri, 07 Aug 2020 08:06:07 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 August 2020 15:06:19 UTC
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