delegating to typed objects
kriszyp at xucia.com
Sat Jul 21 07:13:54 PDT 2007
So does this mean that the verdict has been reached for whether or not new
objects from function constructors can be classes? It looks like from the
bug report that |this| binding will occur to the class instance. What is
still open for comment?
----- Original Message -----
From: "Brendan Eich" <brendan at mozilla.org>
To: "Kris Zyp" <kriszyp at xucia.com>
Cc: <es4-discuss at mozilla.org>; "Jeff Dyer" <jodyer at adobe.com>
Sent: Friday, July 20, 2007 5:37 PM
Subject: Re: delegating to typed objects
> 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,
>>> 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
>> 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:
> Please feel free to comment.
More information about the Es4-discuss