Re: Node append

On 30/09/11 11:43 PM, Anne van Kesteren wrote:
> I have deferred adding arrays for now. I need to talk to Cameron (who is
> away) what the best strategy would be for them.

Interface types and sequence/array types are not #dfn-distinguishable so 
you cannot overload solely based on telling apart those types.  That's 
because any old object can be passed to a function expecting a 
sequence/array and its length property will be used to determine the 
length of the sequence/array.  Performing a runtime check for that 
length property seemed bad, so I just forbade overloading for such cases.

Received on Tuesday, 11 October 2011 05:46:24 UTC