2013/9/10 Allen Wirfs-Brock <[email protected]> > On Sep 10, 2013, at 4:14 AM, Brendan Eich wrote: > > > I think we should preserve double-lifting via one trap in the > meta-handler. No has-before-invoke. Allen? > > Well, then we loose the flexibility for a meta-level proxy to control the > this-binding used when invoking proxy traps on it. Perhaps this isn't an > issue for meta-level proxies, but it was the primary motivation for > introducing [[Invoke]]. >
This isn't an issue for meta-level proxies. One way of explaining why is that double-lifting is an instance of the "virtual objects" use case (not the "caretaker" use case), hence doesn't need |this|-rebinding. Cheers, Tom
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

