swc/crates/swc_ecma_parser/tests/tsc/superCallBeforeThisAccessing1.ts

16 lines
238 B
TypeScript

declare var Factory: any
class Base {
constructor(c) { }
}
class D extends Base {
private _t;
constructor() {
super(i);
var s = {
t: this._t
}
var i = Factory.create(s);
}
}