2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/collisionCodeGenModuleWithMemberInterfaceConflict.ts ===
|
|
|
|
module m1 {
|
2014-08-28 21:40:58 +02:00
|
|
|
>m1 : typeof m1
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface m1 {
|
|
|
|
>m1 : m1
|
|
|
|
}
|
|
|
|
export class m2 implements m1 {
|
|
|
|
>m2 : m2
|
|
|
|
>m1 : m1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var foo = new m1.m2();
|
2014-08-25 19:36:12 +02:00
|
|
|
>foo : m1.m2
|
|
|
|
>new m1.m2() : m1.m2
|
|
|
|
>m1.m2 : typeof m1.m2
|
2014-08-15 23:33:16 +02:00
|
|
|
>m1 : typeof m1
|
2014-08-25 19:36:12 +02:00
|
|
|
>m2 : typeof m1.m2
|
2014-08-15 23:33:16 +02:00
|
|
|
|