lexical super error inside arrow functions
class A extends B {
constructor () {
this.doSomething(() => {
super.doSomething()
})
}
}
Here the super method is transpiled to:
B.prototype.doSomething.call(this)
Where this
is not using the lexical this$1
.