mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
966 B
Plaintext
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))
|
|
|
|
};
|
|
}
|
|
}
|
|
}
|