- From: Tab Atkins Jr. <notifications@github.com>
- Date: Fri, 07 Aug 2020 14:39:58 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 August 2020 21:40:10 UTC
Same deal there - we literally can't restrict `undefined` in those ways if we want to allow it in unions *at all*, because it'll suddenly make webidl require infinite lookahead, rather than the finite (single-token, in fact) lookahead it currently uses. We'd need to introduce a whole new syntax construct that immediately distinguishes "unions that allow undefined" from "unions without undefined". -- 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-670723671
Received on Friday, 7 August 2020 21:40:10 UTC