24 lines
659 B
Plaintext
24 lines
659 B
Plaintext
=== tests/cases/compiler/stringPropCodeGen.ts ===
|
|
var a = {
|
|
>a : Symbol(a, Decl(stringPropCodeGen.ts, 0, 3))
|
|
|
|
"foo" : function() { },
|
|
"bar" : 5
|
|
|
|
};
|
|
|
|
|
|
|
|
a.foo();
|
|
>a.foo : Symbol("foo", Decl(stringPropCodeGen.ts, 0, 9))
|
|
>a : Symbol(a, Decl(stringPropCodeGen.ts, 0, 3))
|
|
>foo : Symbol("foo", Decl(stringPropCodeGen.ts, 0, 9))
|
|
|
|
a.bar.toString();
|
|
>a.bar.toString : Symbol(Number.toString, Decl(lib.d.ts, 458, 18))
|
|
>a.bar : Symbol("bar", Decl(stringPropCodeGen.ts, 2, 25))
|
|
>a : Symbol(a, Decl(stringPropCodeGen.ts, 0, 3))
|
|
>bar : Symbol("bar", Decl(stringPropCodeGen.ts, 2, 25))
|
|
>toString : Symbol(Number.toString, Decl(lib.d.ts, 458, 18))
|
|
|