- From: Boris Zbarsky <notifications@github.com>
- Date: Sat, 02 Jun 2018 07:15:31 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 2 June 2018 14:15:55 UTC
> Note how we don't get “Not enough arguments” this time. Sure, because of the details of exactly how the overload algorithm works. The argument is flagged as optional, technically, but if you don't pass it it's defaulting to a value that's not actually valid based on the other IDL there... I'm not quite sure what your argument is, honestly. > Not only is our default allowed but ignored Um... what's ignored? The point is that `null` is already the default value in Firefox. And the default for the `optional Bar myBar` is also `null`; everyone agrees on that. -- 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/76#issuecomment-394090554
Received on Saturday, 2 June 2018 14:15:55 UTC