2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.ts ===
|
|
|
|
|
|
|
|
module X.A.C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>X : typeof X
|
|
|
|
>A : typeof A
|
|
|
|
>C : any
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface Z {
|
2015-04-16 01:44:20 +02:00
|
|
|
>Z : Z
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
module X.A.B.C {
|
2015-04-16 01:44:20 +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
|
2015-04-16 01:44:20 +02:00
|
|
|
>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
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module X.A.B.C {
|
2015-04-16 01:44:20 +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 {
|
2015-04-16 01:44:20 +02:00
|
|
|
>A : any
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|