2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/collisionCodeGenModuleWithMemberClassConflict.ts ===
|
|
|
|
module m1 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m1 : typeof m1, Symbol(m1, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class m1 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m1 : m1, Symbol(m1, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 0, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
var foo = new m1.m1();
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : m1.m1, Symbol(foo, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 4, 3), Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 13, 3), Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 14, 3))
|
2014-08-25 19:36:12 +02:00
|
|
|
>new m1.m1() : m1.m1
|
2015-04-13 23:01:57 +02:00
|
|
|
>m1.m1 : typeof m1.m1, Symbol(m1.m1, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 0, 11))
|
|
|
|
>m1 : typeof m1, Symbol(m1, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 0, 0))
|
|
|
|
>m1 : typeof m1.m1, Symbol(m1.m1, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 0, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
module m2 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m2 : typeof m2, Symbol(m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 4, 22))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class m2 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m2 : m2, Symbol(m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 6, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export class _m2 {
|
2015-04-13 23:01:57 +02:00
|
|
|
>_m2 : _m2, Symbol(_m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 8, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
var foo = new m2.m2();
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : m1.m1, Symbol(foo, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 4, 3), Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 13, 3), Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 14, 3))
|
2014-08-25 19:36:12 +02:00
|
|
|
>new m2.m2() : m2.m2
|
2015-04-13 23:01:57 +02:00
|
|
|
>m2.m2 : typeof m2.m2, Symbol(m2.m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 6, 11))
|
|
|
|
>m2 : typeof m2, Symbol(m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 4, 22))
|
|
|
|
>m2 : typeof m2.m2, Symbol(m2.m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 6, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var foo = new m2._m2();
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : m1.m1, Symbol(foo, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 4, 3), Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 13, 3), Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 14, 3))
|
2014-08-25 19:36:12 +02:00
|
|
|
>new m2._m2() : m2._m2
|
2015-04-13 23:01:57 +02:00
|
|
|
>m2._m2 : typeof m2._m2, Symbol(m2._m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 8, 5))
|
|
|
|
>m2 : typeof m2, Symbol(m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 4, 22))
|
|
|
|
>_m2 : typeof m2._m2, Symbol(m2._m2, Decl(collisionCodeGenModuleWithMemberClassConflict.ts, 8, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|