31 lines
1.2 KiB
Text
31 lines
1.2 KiB
Text
=== tests/cases/compiler/functionMergedWithModule.ts ===
|
|
function foo(title: string) {
|
|
>foo : Symbol(foo, Decl(functionMergedWithModule.ts, 0, 0), Decl(functionMergedWithModule.ts, 2, 1), Decl(functionMergedWithModule.ts, 7, 1))
|
|
>title : Symbol(title, Decl(functionMergedWithModule.ts, 0, 13))
|
|
|
|
var x = 10;
|
|
>x : Symbol(x, Decl(functionMergedWithModule.ts, 1, 7))
|
|
}
|
|
|
|
module foo.Bar {
|
|
>foo : Symbol(foo, Decl(functionMergedWithModule.ts, 0, 0), Decl(functionMergedWithModule.ts, 2, 1), Decl(functionMergedWithModule.ts, 7, 1))
|
|
>Bar : Symbol(Bar, Decl(functionMergedWithModule.ts, 4, 11))
|
|
|
|
export function f() {
|
|
>f : Symbol(f, Decl(functionMergedWithModule.ts, 4, 16))
|
|
}
|
|
}
|
|
|
|
module foo.Baz {
|
|
>foo : Symbol(foo, Decl(functionMergedWithModule.ts, 0, 0), Decl(functionMergedWithModule.ts, 2, 1), Decl(functionMergedWithModule.ts, 7, 1))
|
|
>Baz : Symbol(Baz, Decl(functionMergedWithModule.ts, 9, 11))
|
|
|
|
export function g() {
|
|
>g : Symbol(g, Decl(functionMergedWithModule.ts, 9, 16))
|
|
|
|
Bar.f();
|
|
>Bar.f : Symbol(Bar.f, Decl(functionMergedWithModule.ts, 4, 16))
|
|
>Bar : Symbol(Bar, Decl(functionMergedWithModule.ts, 4, 11))
|
|
>f : Symbol(Bar.f, Decl(functionMergedWithModule.ts, 4, 16))
|
|
}
|
|
}
|