59 lines
2.6 KiB
Plaintext
59 lines
2.6 KiB
Plaintext
=== tests/cases/compiler/mergedDeclarations4.ts ===
|
|
module M {
|
|
>M : Symbol(M, Decl(mergedDeclarations4.ts, 0, 0), Decl(mergedDeclarations4.ts, 5, 1))
|
|
|
|
export function f() { }
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
|
|
f();
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
|
|
M.f();
|
|
>M.f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
>M : Symbol(M, Decl(mergedDeclarations4.ts, 0, 0), Decl(mergedDeclarations4.ts, 5, 1))
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
|
|
var r = f.hello;
|
|
>r : Symbol(r, Decl(mergedDeclarations4.ts, 4, 7))
|
|
>f.hello : Symbol(f.hello, Decl(mergedDeclarations4.ts, 9, 18))
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
>hello : Symbol(f.hello, Decl(mergedDeclarations4.ts, 9, 18))
|
|
}
|
|
|
|
module M {
|
|
>M : Symbol(M, Decl(mergedDeclarations4.ts, 0, 0), Decl(mergedDeclarations4.ts, 5, 1))
|
|
|
|
export module f {
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
|
|
export var hello = 1;
|
|
>hello : Symbol(hello, Decl(mergedDeclarations4.ts, 9, 18))
|
|
}
|
|
f();
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
|
|
M.f();
|
|
>M.f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
>M : Symbol(M, Decl(mergedDeclarations4.ts, 0, 0), Decl(mergedDeclarations4.ts, 5, 1))
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
|
|
var r = f.hello;
|
|
>r : Symbol(r, Decl(mergedDeclarations4.ts, 13, 7))
|
|
>f.hello : Symbol(f.hello, Decl(mergedDeclarations4.ts, 9, 18))
|
|
>f : Symbol(f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
>hello : Symbol(f.hello, Decl(mergedDeclarations4.ts, 9, 18))
|
|
}
|
|
|
|
M.f();
|
|
>M.f : Symbol(M.f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
>M : Symbol(M, Decl(mergedDeclarations4.ts, 0, 0), Decl(mergedDeclarations4.ts, 5, 1))
|
|
>f : Symbol(M.f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
|
|
M.f.hello;
|
|
>M.f.hello : Symbol(M.f.hello, Decl(mergedDeclarations4.ts, 9, 18))
|
|
>M.f : Symbol(M.f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
>M : Symbol(M, Decl(mergedDeclarations4.ts, 0, 0), Decl(mergedDeclarations4.ts, 5, 1))
|
|
>f : Symbol(M.f, Decl(mergedDeclarations4.ts, 0, 10), Decl(mergedDeclarations4.ts, 7, 10))
|
|
>hello : Symbol(M.f.hello, Decl(mergedDeclarations4.ts, 9, 18))
|
|
|