21 lines
1,013 B
Text
21 lines
1,013 B
Text
=== tests/cases/compiler/declarationEmit_nameConflictsWithAlias.ts ===
|
|
export module C { export interface I { } }
|
|
>C : Symbol(C, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 0))
|
|
>I : Symbol(I, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 17))
|
|
|
|
export import v = C;
|
|
>v : Symbol(v, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 42))
|
|
>C : Symbol(C, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 0))
|
|
|
|
export module M {
|
|
>M : Symbol(M, Decl(declarationEmit_nameConflictsWithAlias.ts, 1, 20))
|
|
|
|
export module C { export interface I { } }
|
|
>C : Symbol(C, Decl(declarationEmit_nameConflictsWithAlias.ts, 2, 17))
|
|
>I : Symbol(I, Decl(declarationEmit_nameConflictsWithAlias.ts, 3, 21))
|
|
|
|
export var w: v.I; // Gets emitted as C.I, which is the wrong interface
|
|
>w : Symbol(w, Decl(declarationEmit_nameConflictsWithAlias.ts, 4, 14))
|
|
>v : Symbol(v, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 42))
|
|
>I : Symbol(v.I, Decl(declarationEmit_nameConflictsWithAlias.ts, 0, 17))
|
|
}
|