Merge pull request #5835 from Microsoft/noEmit

Do not emit files if noEmit is specified
This commit is contained in:
Sheetal Nandi committed 2015-12-01 14:34:28 -08:00
commit 0c8aa41b26
4 files changed
+3 -28

No files matched your search

@@ -1,25 +0,0 @@
//// [a.js]
let C = "sss";
let C = 0; // Error: Cannot redeclare block-scoped variable 'C'.
function f() {
return;
return; // Error: Unreachable code detected.
}
function b() {
"use strict";
var arguments = 0; // Error: Invalid use of 'arguments' in strict mode.
}
//// [a.js]
var C = "sss";
var C = 0; // Error: Cannot redeclare block-scoped variable 'C'.
function f() {
return;
return; // Error: Unreachable code detected.
}
function b() {
"use strict";
var arguments = 0; // Error: Invalid use of 'arguments' in strict mode.
}