D | superInStaticInitializer.ts | 17 const [Base, Derived] = result.main(); constant 19 assert.strictEqual(Derived.y, 1); 36 const [Base, Derived] = result.main(); constant 38 assert.strictEqual(Derived.x, 2); 39 assert.strictEqual(Derived.y, 1); 62 const [Base, Derived, thisInBase] = result.main(); constant 64 assert.strictEqual(Derived.y, 1); 65 assert.strictEqual(thisInBase, Derived); 94 const [Base, Derived, thisInBaseGet, thisInBaseSet] = result.main(); constant 96 assert.strictEqual(Derived._x, 2); [all …]
|