No emit should happen if there are declaration errors and noEmitOnErrors is specified.

This commit is contained in:
Cyrus Najmabadi
2015-03-19 16:55:07 -07:00
parent 79272d7cef
commit 85d71b2883
12 changed files with 65 additions and 53 deletions

View File

@@ -4914,7 +4914,6 @@ module ts {
synchronizeHostData();
let sourceFile = getValidSourceFile(fileName);
let outputFiles: OutputFile[] = [];
function writeFile(fileName: string, data: string, writeByteOrderMark: boolean) {