2015-03-12 18:11:37 +01:00
|
|
|
=== tests/cases/compiler/es6ModuleFunctionDeclaration.ts ===
|
|
|
|
export function foo() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|
|
|
|
function foo2() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo2 : () => void, Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|
|
|
|
foo();
|
|
|
|
>foo() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
foo2();
|
|
|
|
>foo2() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo2 : () => void, Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
export module m1 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m1 : typeof m1, Symbol(m1, Decl(es6ModuleFunctionDeclaration.ts, 5, 7))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
export function foo3() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo3 : () => void, Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|
|
|
|
function foo4() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo4 : () => void, Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 9, 5))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|
|
|
|
foo();
|
|
|
|
>foo() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
foo2();
|
|
|
|
>foo2() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo2 : () => void, Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
foo3();
|
|
|
|
>foo3() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo3 : () => void, Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
foo4();
|
|
|
|
>foo4() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo4 : () => void, Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 9, 5))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|
|
|
|
module m2 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m2 : typeof m2, Symbol(m2, Decl(es6ModuleFunctionDeclaration.ts, 16, 1))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
export function foo3() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo3 : () => void, Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 17, 11))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|
|
|
|
function foo4() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo4 : () => void, Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 19, 5))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|
|
|
|
foo();
|
|
|
|
>foo() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
foo2();
|
|
|
|
>foo2() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo2 : () => void, Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
foo3();
|
|
|
|
>foo3() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo3 : () => void, Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 17, 11))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
foo4();
|
|
|
|
>foo4() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo4 : () => void, Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 19, 5))
|
2015-03-12 18:11:37 +01:00
|
|
|
|
|
|
|
m1.foo3();
|
|
|
|
>m1.foo3() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>m1.foo3 : () => void, Symbol(m1.foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))
|
|
|
|
>m1 : typeof m1, Symbol(m1, Decl(es6ModuleFunctionDeclaration.ts, 5, 7))
|
|
|
|
>foo3 : () => void, Symbol(m1.foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))
|
2015-03-12 18:11:37 +01:00
|
|
|
}
|