25 lines
618 B
Text
25 lines
618 B
Text
=== 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))
|
|
}
|
|
}
|
|
|