TypeScript/tests/baselines/reference/internalAliasVarInsideTopLevelModuleWithExport.symbols
2015-04-15 16:44:20 -07:00

19 lines
744 B
Plaintext

=== tests/cases/compiler/internalAliasVarInsideTopLevelModuleWithExport.ts ===
export module a {
>a : Symbol(a, Decl(internalAliasVarInsideTopLevelModuleWithExport.ts, 0, 0))
export var x = 10;
>x : Symbol(x, Decl(internalAliasVarInsideTopLevelModuleWithExport.ts, 1, 14))
}
export import b = a.x;
>b : Symbol(b, Decl(internalAliasVarInsideTopLevelModuleWithExport.ts, 2, 1))
>a : Symbol(a, Decl(internalAliasVarInsideTopLevelModuleWithExport.ts, 0, 0))
>x : Symbol(b, Decl(internalAliasVarInsideTopLevelModuleWithExport.ts, 1, 14))
export var bVal = b;
>bVal : Symbol(bVal, Decl(internalAliasVarInsideTopLevelModuleWithExport.ts, 5, 10))
>b : Symbol(b, Decl(internalAliasVarInsideTopLevelModuleWithExport.ts, 2, 1))