2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/internalAliasEnumInsideLocalModuleWithoutExport.ts ===
|
|
|
|
export module a {
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : typeof a, Symbol(a, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export enum weekend {
|
2015-04-13 23:01:57 +02:00
|
|
|
>weekend : weekend, Symbol(weekend, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 0, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
Friday,
|
2015-04-13 23:01:57 +02:00
|
|
|
>Friday : weekend, Symbol(weekend.Friday, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 1, 25))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
Saturday,
|
2015-04-13 23:01:57 +02:00
|
|
|
>Saturday : weekend, Symbol(weekend.Saturday, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 2, 15))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
Sunday
|
2015-04-13 23:01:57 +02:00
|
|
|
>Sunday : weekend, Symbol(weekend.Sunday, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 3, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export module c {
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : typeof c, Symbol(c, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 6, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
import b = a.weekend;
|
2015-04-13 23:01:57 +02:00
|
|
|
>b : typeof b, Symbol(b, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 8, 17))
|
|
|
|
>a : typeof a, Symbol(a, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 0, 0))
|
|
|
|
>weekend : b, Symbol(b, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 0, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var bVal: b = b.Sunday;
|
2015-04-13 23:01:57 +02:00
|
|
|
>bVal : b, Symbol(bVal, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 10, 14))
|
|
|
|
>b : b, Symbol(b, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 8, 17))
|
|
|
|
>b.Sunday : b, Symbol(b.Sunday, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 3, 17))
|
|
|
|
>b : typeof b, Symbol(b, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 8, 17))
|
|
|
|
>Sunday : b, Symbol(b.Sunday, Decl(internalAliasEnumInsideLocalModuleWithoutExport.ts, 3, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|