Making "super" work outside a literal?

Sean Eagan seaneagan1 at gmail.com
Wed Jun 22 10:42:04 PDT 2011


On Wed, Jun 22, 2011 at 12:33 PM, Peter Michaux <petermichaux at gmail.com> wrote:
> I agree that dynamic "this" but static "super" seems odd but maybe
> symmetry with "this" is not desired. Maybe we should have static
> "super" and be looking for symmetry with a static "self".

Symmetry with |this| is important because |super| uses it's sibling
|this| as the |this| in methods and accessor getter and setter calls
that result from |super| property access.

If by "self" you mean the same thing as Axel's "here", then I don't
think that is desireable as Brendan earlier pointed out.

>
> Peter
>

Cheers,
Sean Eagan


More information about the es-discuss mailing list