Re: [heycam/webidl] Sort out when dictionaries and records should have default values (#76)

> 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