delegating to typed objects

Brendan Eich brendan at mozilla.org
Fri Jul 20 17:37:44 PDT 2007


On Jul 10, 2007, at 9:20 AM, Kris Zyp wrote:

>> The class methods can't be extracted or called without this  
>> binding  to
>> the object from which they were extracted or in which they were   
>> found, so
>> there's no type check. From the reference implementation:
> I thought we had agreed that |this| being c instead of f in f.m()  
> was too
> much of a usability hazard. I guess not (although I still think it  
> is).

It's an open issue. I sent one message making it sound like the RI  
does what you want now, but it just ain't so. Sorry for any confusion.

Here are the tickets I've filed:

http://bugs.ecmascript-lang.org/ticket/141
http://bugs.ecmascript-lang.org/ticket/142

Please feel free to comment.

/be




More information about the Es4-discuss mailing list