W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 16767] Allow user objects for Array[] types

From: <bugzilla@jessica.w3.org>
Date: Mon, 10 Dec 2012 23:37:02 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16767-3890-sDk2eQw6nG@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16767

--- Comment #18 from Boris Zbarsky <bzbarsky@mit.edu> ---
> As a sequence or array type?

Yes.

> Then it couldn't be distinguishable with those interface types.

But passing in a platform object that _does_ support indexed properties is OK. 
And those are still distinguishable from sequence types.  In fact there are
specs out there that use this (e.g. WebGL overloads on sequence vs typed
array).

> Because the overload resolution algorithm and the type conversion algorithms
> aren't in sync?

Yes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 10 December 2012 23:37:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC