Files
tsgo/testdata/baselines/reference/submodule/conformance/computedPropertyNames30_ES6.symbols
2025-02-26 14:53:49 -08:00

29 lines
966 B
Plaintext

//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames30_ES6.ts] ////
=== computedPropertyNames30_ES6.ts ===
class Base {
>Base : Symbol(Base, Decl(computedPropertyNames30_ES6.ts, 0, 0))
}
class C extends Base {
>C : Symbol(C, Decl(computedPropertyNames30_ES6.ts, 1, 1))
>Base : Symbol(Base, Decl(computedPropertyNames30_ES6.ts, 0, 0))
constructor() {
super();
>super : Symbol(Base, Decl(computedPropertyNames30_ES6.ts, 0, 0))
() => {
var obj = {
>obj : Symbol(obj, Decl(computedPropertyNames30_ES6.ts, 6, 15))
// Ideally, we would capture this. But the reference is
// illegal, and not capturing this is consistent with
//treatment of other similar violations.
[(super(), "prop")]() { }
>[(super(), "prop")] : Symbol([(super(), "prop")], Decl(computedPropertyNames30_ES6.ts, 6, 23))
};
}
}
}