2015-10-21 00:51:37 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @BaselineFile: compileOnSaveWorksWhenEmitBlockingErrorOnOtherFile.baseline
|
2015-10-28 21:56:47 +01:00
|
|
|
// @allowJs: true
|
2015-10-21 00:51:37 +02:00
|
|
|
// @Filename: b.js
|
|
|
|
// @emitThisFile: true
|
|
|
|
////function foo() { } // This has error because js file cannot be overwritten - emitSkipped should be true
|
|
|
|
|
|
|
|
// @Filename: a.ts
|
|
|
|
// @emitThisFile: true
|
|
|
|
////function foo2() { return 30; } // no error - should emit a.js
|
|
|
|
|
|
|
|
verify.baselineGetEmitOutput();
|