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

13 lines
388 B
Plaintext

=== tests/cases/compiler/functionCall4.ts ===
function foo():any{return ""};
>foo : Symbol(foo, Decl(functionCall4.ts, 0, 0))
function bar():()=>any{return foo};
>bar : Symbol(bar, Decl(functionCall4.ts, 0, 30))
>foo : Symbol(foo, Decl(functionCall4.ts, 0, 0))
var x = bar();
>x : Symbol(x, Decl(functionCall4.ts, 2, 3))
>bar : Symbol(bar, Decl(functionCall4.ts, 0, 30))