Re: [heycam/webidl] Allow records to be omitted (#304)

Actually, add:

4. Need to re-allow nullable record operation arguments.

> I can't find 2 of your list

Hmm.  I guess we effectively only had this for trailing optional records, not all records, and your PR changes that part.

> Why should we allow records to be nullable?

Why shouldn't we?  Note that they are _already_ allowed to be nullable everywhere except dictionary members and operation arguments.  The only reason they're not allowed there is because `null` used to be a valid record value, and the idea was that if null is passed that means "record produce from `null`", not "null".  But if `null` is _not_ a valid record value, then a nullable record makes perfect sense.

> Anyway, it's probably best if @jyasskin or you or @domenic do this instead.

Sure.  I'm pretty swamped with other things, but if @jyasskin or @domenic don't get to this by the time I clear other things off my plate and am seriously blocked on this to implement `record` in Gecko I will do it.

-- 
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/304#issuecomment-278376040

Received on Wednesday, 8 February 2017 16:21:30 UTC