12 lines
388 B
Text
12 lines
388 B
Text
=== 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))
|
|
|