2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause2.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 A.C.Z { // This can refer to it as A.C.Z
|
2015-04-16 01:44:20 +02:00
|
|
|
>W : W
|
|
|
|
>A.C.Z : any
|
|
|
|
>A.C : any
|
|
|
|
>A : typeof A
|
|
|
|
>C : any
|
|
|
|
>Z : 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
|
|
|
|
|
|
|
module A {
|
2015-04-16 01:44:20 +02:00
|
|
|
>A : any
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|