23 lines
659 B
Text
23 lines
659 B
Text
=== 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))
|
|
|