- From: Anne van Kesteren <notifications@github.com>
- Date: Sat, 06 Mar 2021 06:03:54 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 6 March 2021 14:04:06 UTC
I guess one aspect that is a little weird here is that `= undefined` would also end up changing the type (similar to optional). As in, if `T` is a type that is not undefined, `T x = undefined` means that `x` can be undefined or `T`, which you would normally have to write as `(T or undefined) x = undefined`. That might be reasonable, but it's something to keep in mind. -- 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/905#issuecomment-791950982
Received on Saturday, 6 March 2021 14:04:06 UTC