2015-04-27 03:31:47 +02:00
|
|
|
tests/cases/compiler/mergedModuleDeclarationCodeGen.ts(1,15): error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
~
|
2015-04-27 03:31:47 +02:00
|
|
|
!!! error TS1148: Cannot compile 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 {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|