mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames25_ES6.ts] ////
|
|
|
|
=== computedPropertyNames25_ES6.ts ===
|
|
class Base {
|
|
>Base : Symbol(Base, Decl(computedPropertyNames25_ES6.ts, 0, 0))
|
|
|
|
bar() {
|
|
>bar : Symbol(Base.bar, Decl(computedPropertyNames25_ES6.ts, 0, 12))
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
class C extends Base {
|
|
>C : Symbol(C, Decl(computedPropertyNames25_ES6.ts, 4, 1))
|
|
>Base : Symbol(Base, Decl(computedPropertyNames25_ES6.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(C.foo, Decl(computedPropertyNames25_ES6.ts, 5, 22))
|
|
|
|
var obj = {
|
|
>obj : Symbol(obj, Decl(computedPropertyNames25_ES6.ts, 7, 11))
|
|
|
|
[super.bar()]() { }
|
|
>[super.bar()] : Symbol([super.bar()], Decl(computedPropertyNames25_ES6.ts, 7, 19))
|
|
>super.bar : Symbol(Base.bar, Decl(computedPropertyNames25_ES6.ts, 0, 12))
|
|
>super : Symbol(Base, Decl(computedPropertyNames25_ES6.ts, 0, 0))
|
|
>bar : Symbol(Base.bar, Decl(computedPropertyNames25_ES6.ts, 0, 12))
|
|
|
|
};
|
|
return 0;
|
|
}
|
|
}
|