22 lines
715 B
Text
22 lines
715 B
Text
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames22_ES6.ts ===
|
|
class C {
|
|
>C : C, Symbol(C,Decl(computedPropertyNames22_ES6.ts,0,0))
|
|
|
|
bar() {
|
|
>bar : () => number, Symbol(bar,Decl(computedPropertyNames22_ES6.ts,0,9))
|
|
|
|
var obj = {
|
|
>obj : {}, Symbol(obj,Decl(computedPropertyNames22_ES6.ts,2,11))
|
|
>{ [this.bar()]() { } } : {}
|
|
|
|
[this.bar()]() { }
|
|
>this.bar() : number
|
|
>this.bar : () => number, Symbol(bar,Decl(computedPropertyNames22_ES6.ts,0,9))
|
|
>this : C, Symbol(C,Decl(computedPropertyNames22_ES6.ts,0,0))
|
|
>bar : () => number, Symbol(bar,Decl(computedPropertyNames22_ES6.ts,0,9))
|
|
|
|
};
|
|
return 0;
|
|
>0 : number
|
|
}
|
|
}
|