2014-08-28 01:58:31 +02:00
|
|
|
=== tests/cases/compiler/declarationEmit_nameConflictsWithAlias.ts ===
|
|
|
|
export module C { export interface I { } }
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : any, Symbol(C, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 0))
|
|
|
|
>I : I, Symbol(I, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 17))
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
export import v = C;
|
2015-04-13 23:01:57 +02:00
|
|
|
>v : any, Symbol(v, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 42))
|
|
|
|
>C : any, Symbol(C, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 0))
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
export module M {
|
2015-04-13 23:01:57 +02:00
|
|
|
>M : typeof M, Symbol(M, Decl(declarationEmit_nameConflictsWithAlias.ts, 1, 20))
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
export module C { export interface I { } }
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : any, Symbol(C, Decl(declarationEmit_nameConflictsWithAlias.ts, 2, 17))
|
|
|
|
>I : I, Symbol(I, Decl(declarationEmit_nameConflictsWithAlias.ts, 3, 21))
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
export var w: v.I; // Gets emitted as C.I, which is the wrong interface
|
2015-04-13 23:01:57 +02:00
|
|
|
>w : v.I, Symbol(w, Decl(declarationEmit_nameConflictsWithAlias.ts, 4, 14))
|
|
|
|
>v : any, Symbol(v, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 42))
|
|
|
|
>I : v.I, Symbol(v.I, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 17))
|
2014-08-28 01:58:31 +02:00
|
|
|
}
|