TypeScript/tests/baselines/reference/quotedPropertyName3.symbols
2015-04-15 16:44:20 -07:00

19 lines
583 B
Plaintext

=== tests/cases/compiler/quotedPropertyName3.ts ===
class Test {
>Test : Symbol(Test, Decl(quotedPropertyName3.ts, 0, 0))
"prop1": number;
foo() {
>foo : Symbol(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("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))
}
}