Re: [heycam/webidl] Getting rid of optional (#905)

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