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

13 lines
207 B
TypeScript

class Base {
constructor(c) { }
}
class D extends Base {
private _t;
constructor() {
let x = {
k: super(undefined),
j: this._t, // no error
}
}
}