38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
=== 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))
|
|
}
|