34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
=== tests/cases/compiler/internalAliasUninitializedModule.ts ===
|
|
module a {
|
|
>a : Symbol(a, Decl(internalAliasUninitializedModule.ts, 0, 0))
|
|
|
|
export module b {
|
|
>b : Symbol(b, Decl(internalAliasUninitializedModule.ts, 0, 10))
|
|
|
|
export interface I {
|
|
>I : Symbol(I, Decl(internalAliasUninitializedModule.ts, 1, 21))
|
|
|
|
foo();
|
|
>foo : Symbol(foo, Decl(internalAliasUninitializedModule.ts, 2, 28))
|
|
}
|
|
}
|
|
}
|
|
|
|
module c {
|
|
>c : Symbol(c, Decl(internalAliasUninitializedModule.ts, 6, 1))
|
|
|
|
import b = a.b;
|
|
>b : Symbol(b, Decl(internalAliasUninitializedModule.ts, 8, 10))
|
|
>a : Symbol(a, Decl(internalAliasUninitializedModule.ts, 0, 0))
|
|
>b : Symbol(b, Decl(internalAliasUninitializedModule.ts, 0, 10))
|
|
|
|
export var x: b.I;
|
|
>x : Symbol(x, Decl(internalAliasUninitializedModule.ts, 10, 14))
|
|
>b : Symbol(b, Decl(internalAliasUninitializedModule.ts, 8, 10))
|
|
>I : Symbol(b.I, Decl(internalAliasUninitializedModule.ts, 1, 21))
|
|
|
|
x.foo();
|
|
>x.foo : Symbol(b.I.foo, Decl(internalAliasUninitializedModule.ts, 2, 28))
|
|
>x : Symbol(x, Decl(internalAliasUninitializedModule.ts, 10, 14))
|
|
>foo : Symbol(b.I.foo, Decl(internalAliasUninitializedModule.ts, 2, 28))
|
|
}
|