1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
=== tests/cases/compiler/importAliasWithDottedName.ts ===
module M {
>M : Symbol(M, Decl(importAliasWithDottedName.ts, 0, 0))
export var x = 1;
>x : Symbol(x, Decl(importAliasWithDottedName.ts, 1, 14))
export module N {
>N : Symbol(N, Decl(importAliasWithDottedName.ts, 1, 21))
export var y = 2;
>y : Symbol(y, Decl(importAliasWithDottedName.ts, 3, 18))
}
}
module A {
>A : Symbol(A, Decl(importAliasWithDottedName.ts, 5, 1))
import N = M.N;
>N : Symbol(N, Decl(importAliasWithDottedName.ts, 7, 10))
>M : Symbol(M, Decl(importAliasWithDottedName.ts, 0, 0))
>N : Symbol(N, Decl(importAliasWithDottedName.ts, 1, 21))
var r = N.y;
>r : Symbol(r, Decl(importAliasWithDottedName.ts, 9, 7))
>N.y : Symbol(N.y, Decl(importAliasWithDottedName.ts, 3, 18))
>N : Symbol(N, Decl(importAliasWithDottedName.ts, 7, 10))
>y : Symbol(N.y, Decl(importAliasWithDottedName.ts, 3, 18))
var r2 = M.N.y;
>r2 : Symbol(r2, Decl(importAliasWithDottedName.ts, 10, 7))
>M.N.y : Symbol(N.y, Decl(importAliasWithDottedName.ts, 3, 18))
>M.N : Symbol(N, Decl(importAliasWithDottedName.ts, 1, 21))
>M : Symbol(M, Decl(importAliasWithDottedName.ts, 0, 0))
>N : Symbol(N, Decl(importAliasWithDottedName.ts, 1, 21))
>y : Symbol(N.y, Decl(importAliasWithDottedName.ts, 3, 18))
}
|