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

26 lines
618 B
Plaintext

=== 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))
}
}