mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
420 B
Plaintext
15 lines
420 B
Plaintext
//// [tests/cases/compiler/functionCall4.ts] ////
|
|
|
|
=== 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))
|
|
|