21 lines
564 B
Text
21 lines
564 B
Text
=== tests/cases/compiler/internalAliasVar.ts ===
|
|
module a {
|
|
>a : Symbol(a, Decl(internalAliasVar.ts, 0, 0))
|
|
|
|
export var x = 10;
|
|
>x : Symbol(x, Decl(internalAliasVar.ts, 1, 14))
|
|
}
|
|
|
|
module c {
|
|
>c : Symbol(c, Decl(internalAliasVar.ts, 2, 1))
|
|
|
|
import b = a.x;
|
|
>b : Symbol(b, Decl(internalAliasVar.ts, 4, 10))
|
|
>a : Symbol(a, Decl(internalAliasVar.ts, 0, 0))
|
|
>x : Symbol(b, Decl(internalAliasVar.ts, 1, 14))
|
|
|
|
export var bVal = b;
|
|
>bVal : Symbol(bVal, Decl(internalAliasVar.ts, 6, 14))
|
|
>b : Symbol(b, Decl(internalAliasVar.ts, 4, 10))
|
|
}
|
|
|