Erik Arvidsson (2013-12-10T00:59:15.000Z)
super is lexically bound.

On Mon, Dec 9, 2013 at 7:39 PM, James Long <longster at gmail.com> wrote:

> If you have an inner function that calls `super`, Traceur keeps track
> of the outer "this" and makes sure to call it with that. TypeScript
> does not do this. Is this correct?
>

TypeScript, also does not correctly support super getters/setters:

class B {
  get x() {
    return 1;
  }
}
class C extends B {
  get x() {
    return 1 + super.x;
  }
}

James, it looks like you are using an older version of Traceur which has
some bugs related to the [[HomeObject]] starting at the wrong object.

-- 
erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131209/e862464c/attachment-0001.html>
domenic at domenicdenicola.com (2013-12-10T02:49:44.446Z)
super is lexically bound.

On Mon, Dec 9, 2013 at 7:39 PM, James Long <longster at gmail.com> wrote:

> If you have an inner function that calls `super`, Traceur keeps track
> of the outer "this" and makes sure to call it with that. TypeScript
> does not do this. Is this correct?
>

TypeScript, also does not correctly support super getters/setters:

```js
class B {
  get x() {
    return 1;
  }
}
class C extends B {
  get x() {
    return 1 + super.x;
  }
}
```

James, it looks like you are using an older version of Traceur which has
some bugs related to the [[HomeObject]] starting at the wrong object.