TypeScript/tests/baselines/reference/computedPropertyNames22_ES6.types

23 lines
733 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/computedProperties/computedPropertyNames22_ES6.ts ===
class C {
2015-04-13 23:01:57 +02:00
>C : C, Symbol(C, Decl(computedPropertyNames22_ES6.ts, 0, 0))
bar() {
2015-04-13 23:01:57 +02:00
>bar : () => number, Symbol(bar, Decl(computedPropertyNames22_ES6.ts, 0, 9))
var obj = {
2015-04-13 23:01:57 +02:00
>obj : {}, Symbol(obj, Decl(computedPropertyNames22_ES6.ts, 2, 11))
>{ [this.bar()]() { } } : {}
[this.bar()]() { }
>this.bar() : number
2015-04-13 23:01:57 +02:00
>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;
2015-04-13 21:36:11 +02:00
>0 : number
}
}