This code can get pretty hot so that us why I wanted to promise this.
On Apr 19, 2014 12:41 PM, "johnjbarton" <notifications@github.com> wrote:

> In src/runtime/runtime.js:
>
> >    }
> >
> >    function superCall(self, homeObject, name, args) {
> > -    var descriptor = superDescriptor(homeObject, name);
> > -    if (descriptor) {
> > -      if ('value' in descriptor)
> > -        return descriptor.value.apply(self, args);
> > -      if (descriptor.get)
> > -        return descriptor.get.call(self).apply(self, args);
> > -    }
> > -    throw $TypeError("super has no method '" + name + "'.");
> > +    var f = superGet(self, homeObject, name);
> > +    if (!f)
>
> Since this occurs only at the call I'd prefer the better error message.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/google/traceur-compiler/pull/964/files#r11794514>
> .
>