[[Invoke]] and implicit method calls

Allen Wirfs-Brock allen at wirfs-brock.com
Tue Sep 10 11:39:04 PDT 2013


On Sep 10, 2013, at 10:48 AM, Till Schneidereit wrote:
> 
> Wasn't a major point in favor of having an [[Invoke]] trap that it wouldn't require returning a function from the trap at all? We'd lose this quality with both of these proposals.

No, the major motivation was to provide a way to deal with different styles of |this| mapping that are needed for different styles of proxies.  However, the ability to implement a method code without producing a function is a desirable secondary benefit 

Allen


More information about the es-discuss mailing list