[Bug 27008] "Initializing objects from iterables" needs syntax

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27008

--- Comment #10 from Boris Zbarsky <bzbarsky@mit.edu> ---
>  [Constructor(optional (Headers or MapInitIterable or OpenEndedDictionary) init)]

The point of OpenEndedDictionary is to have something to do type coercions for
you.

Here you apparently don't want them done, because you want to pass things as-is
to the append method.  So you don't actually want OpenEndedDictionary.  You
want something more like "object", except that's not distinguishable from
sequence right now.

But given that you want all the behavior in prose anyway, apparently, sounds
like you really just want to take "optional object" and then go from there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 10 October 2014 04:27:00 UTC