2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/mergedModuleDeclarationCodeGen.ts (1 errors) ====
|
|
|
|
export module X {
|
2014-07-19 02:30:06 +02:00
|
|
|
~
|
|
|
|
!!! Cannot compile external modules unless the '--module' flag is provided.
|
2014-07-13 01:04:16 +02:00
|
|
|
export module Y {
|
|
|
|
class A {
|
|
|
|
constructor(Y: any) {
|
|
|
|
new B();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export module X {
|
|
|
|
export module Y {
|
|
|
|
export class B {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|