* Skip outter expressions when checking for super keyword in binder * use TransformFlags to optimize and correct super call transforms * Lint
17 lines
247 B
TypeScript
17 lines
247 B
TypeScript
class A { x() {} }
|
|
|
|
class B extends A {
|
|
constructor() {
|
|
super();
|
|
}
|
|
foo() {
|
|
return () => {
|
|
super.x;
|
|
}
|
|
}
|
|
bar() {
|
|
return () => {
|
|
super["x"];
|
|
}
|
|
}
|
|
} |