2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.ts ===
|
|
|
|
|
|
|
|
module X.A.C {
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : typeof X
|
|
|
|
>A : typeof A
|
|
|
|
>C : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface Z {
|
|
|
|
>Z : Z
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module X.A.B.C {
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : typeof X
|
|
|
|
>A : typeof A
|
|
|
|
>B : typeof B
|
|
|
|
>C : typeof C
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class W implements X.A.C.Z { // This needs to be refered as X.A.C.Z as A has conflict
|
|
|
|
>W : W
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : unknown
|
|
|
|
>A : unknown
|
|
|
|
>C : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>Z : X.A.C.Z
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module X.A.B.C {
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : typeof X
|
|
|
|
>A : typeof A
|
|
|
|
>B : typeof B
|
|
|
|
>C : typeof C
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module A {
|
2014-08-28 21:40:58 +02:00
|
|
|
>A : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|