1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
=== tests/cases/compiler/innerFunc.ts ===
function salt() {
>salt : Symbol(salt, Decl(innerFunc.ts, 0, 0))
function pepper() { return 5;}
>pepper : Symbol(pepper, Decl(innerFunc.ts, 0, 17))
return pepper();
>pepper : Symbol(pepper, Decl(innerFunc.ts, 0, 17))
}
module M {
>M : Symbol(M, Decl(innerFunc.ts, 3, 1))
export function tungsten() {
>tungsten : Symbol(tungsten, Decl(innerFunc.ts, 5, 10))
function oxygen() { return 6; };
>oxygen : Symbol(oxygen, Decl(innerFunc.ts, 6, 32))
return oxygen();
>oxygen : Symbol(oxygen, Decl(innerFunc.ts, 6, 32))
}
}
|