=== tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause1.ts === module X.A.C { >X : typeof X >A : typeof A >C : any export interface Z { >Z : Z } } module X.A.B.C { >X : typeof X >A : typeof A >B : typeof B >C : typeof C module A { >A : any } export class W implements X.A.C.Z { // This needs to be refered as X.A.C.Z as A has conflict >W : W >X.A.C.Z : any >X.A.C : any >X.A : typeof A >X : typeof X >A : typeof A >C : any >Z : X.A.C.Z } }