TypeScript/tests/baselines/reference/quotedPropertyName3.symbols
2016-04-16 19:23:13 -07:00

19 lines
594 B
Plaintext

=== tests/cases/compiler/quotedPropertyName3.ts ===
class Test {
>Test : Symbol(Test, Decl(quotedPropertyName3.ts, 0, 0))
"prop1": number;
foo() {
>foo : Symbol(Test.foo, Decl(quotedPropertyName3.ts, 1, 20))
var x = () => this["prop1"];
>x : Symbol(x, Decl(quotedPropertyName3.ts, 3, 11))
>this : Symbol(Test, Decl(quotedPropertyName3.ts, 0, 0))
>"prop1" : Symbol(Test["prop1"], Decl(quotedPropertyName3.ts, 0, 12))
var y: number = x();
>y : Symbol(y, Decl(quotedPropertyName3.ts, 4, 11))
>x : Symbol(x, Decl(quotedPropertyName3.ts, 3, 11))
}
}