40 lines
647 B
Text
40 lines
647 B
Text
=== tests/cases/compiler/collisionCodeGenModuleWithMemberClassConflict.ts ===
|
|
module m1 {
|
|
>m1 : typeof m1
|
|
|
|
export class m1 {
|
|
>m1 : m1
|
|
}
|
|
}
|
|
var foo = new m1.m1();
|
|
>foo : m1.m1
|
|
>new m1.m1() : m1.m1
|
|
>m1.m1 : typeof m1.m1
|
|
>m1 : typeof m1
|
|
>m1 : typeof m1.m1
|
|
|
|
module m2 {
|
|
>m2 : typeof m2
|
|
|
|
export class m2 {
|
|
>m2 : m2
|
|
}
|
|
|
|
export class _m2 {
|
|
>_m2 : _m2
|
|
}
|
|
}
|
|
var foo = new m2.m2();
|
|
>foo : m1.m1
|
|
>new m2.m2() : m2.m2
|
|
>m2.m2 : typeof m2.m2
|
|
>m2 : typeof m2
|
|
>m2 : typeof m2.m2
|
|
|
|
var foo = new m2._m2();
|
|
>foo : m1.m1
|
|
>new m2._m2() : m2._m2
|
|
>m2._m2 : typeof m2._m2
|
|
>m2 : typeof m2
|
|
>_m2 : typeof m2._m2
|
|
|