76 lines
2.5 KiB
Text
76 lines
2.5 KiB
Text
=== tests/cases/compiler/dottedModuleName2.ts ===
|
|
module A.B {
|
|
>A : Symbol(A, Decl(dottedModuleName2.ts, 0, 0), Decl(dottedModuleName2.ts, 18, 21))
|
|
>B : Symbol(B, Decl(dottedModuleName2.ts, 0, 9), Decl(dottedModuleName2.ts, 21, 9))
|
|
|
|
export var x = 1;
|
|
>x : Symbol(x, Decl(dottedModuleName2.ts, 2, 12))
|
|
|
|
}
|
|
|
|
|
|
|
|
module AA { export module B {
|
|
>AA : Symbol(AA, Decl(dottedModuleName2.ts, 4, 1))
|
|
>B : Symbol(B, Decl(dottedModuleName2.ts, 8, 11))
|
|
|
|
export var x = 1;
|
|
>x : Symbol(x, Decl(dottedModuleName2.ts, 10, 12))
|
|
|
|
} }
|
|
|
|
|
|
|
|
var tmpOK = AA.B.x;
|
|
>tmpOK : Symbol(tmpOK, Decl(dottedModuleName2.ts, 16, 3))
|
|
>AA.B.x : Symbol(AA.B.x, Decl(dottedModuleName2.ts, 10, 12))
|
|
>AA.B : Symbol(AA.B, Decl(dottedModuleName2.ts, 8, 11))
|
|
>AA : Symbol(AA, Decl(dottedModuleName2.ts, 4, 1))
|
|
>B : Symbol(AA.B, Decl(dottedModuleName2.ts, 8, 11))
|
|
>x : Symbol(AA.B.x, Decl(dottedModuleName2.ts, 10, 12))
|
|
|
|
var tmpError = A.B.x;
|
|
>tmpError : Symbol(tmpError, Decl(dottedModuleName2.ts, 18, 3))
|
|
>A.B.x : Symbol(A.B.x, Decl(dottedModuleName2.ts, 2, 12))
|
|
>A.B : Symbol(A.B, Decl(dottedModuleName2.ts, 0, 9), Decl(dottedModuleName2.ts, 21, 9))
|
|
>A : Symbol(A, Decl(dottedModuleName2.ts, 0, 0), Decl(dottedModuleName2.ts, 18, 21))
|
|
>B : Symbol(A.B, Decl(dottedModuleName2.ts, 0, 9), Decl(dottedModuleName2.ts, 21, 9))
|
|
>x : Symbol(A.B.x, Decl(dottedModuleName2.ts, 2, 12))
|
|
|
|
|
|
module A.B.C
|
|
>A : Symbol(A, Decl(dottedModuleName2.ts, 0, 0), Decl(dottedModuleName2.ts, 18, 21))
|
|
>B : Symbol(B, Decl(dottedModuleName2.ts, 0, 9), Decl(dottedModuleName2.ts, 21, 9))
|
|
>C : Symbol(C, Decl(dottedModuleName2.ts, 21, 11))
|
|
|
|
{
|
|
|
|
export var x = 1;
|
|
>x : Symbol(x, Decl(dottedModuleName2.ts, 25, 14))
|
|
|
|
}
|
|
|
|
|
|
|
|
module M
|
|
>M : Symbol(M, Decl(dottedModuleName2.ts, 27, 1))
|
|
|
|
{
|
|
|
|
import X1 = A;
|
|
>X1 : Symbol(X1, Decl(dottedModuleName2.ts, 33, 1))
|
|
>A : Symbol(X1, Decl(dottedModuleName2.ts, 0, 0), Decl(dottedModuleName2.ts, 18, 21))
|
|
|
|
import X2 = A.B;
|
|
>X2 : Symbol(X2, Decl(dottedModuleName2.ts, 35, 18))
|
|
>A : Symbol(X1, Decl(dottedModuleName2.ts, 0, 0), Decl(dottedModuleName2.ts, 18, 21))
|
|
>B : Symbol(X1.B, Decl(dottedModuleName2.ts, 0, 9), Decl(dottedModuleName2.ts, 21, 9))
|
|
|
|
import X3 = A.B.C;
|
|
>X3 : Symbol(X3, Decl(dottedModuleName2.ts, 37, 20))
|
|
>A : Symbol(X1, Decl(dottedModuleName2.ts, 0, 0), Decl(dottedModuleName2.ts, 18, 21))
|
|
>B : Symbol(X1.B, Decl(dottedModuleName2.ts, 0, 9), Decl(dottedModuleName2.ts, 21, 9))
|
|
>C : Symbol(X2.C, Decl(dottedModuleName2.ts, 21, 11))
|
|
|
|
}
|
|
|