Merge pull request #10871 from Microsoft/fix10800

Fix issue with helper emit.
This commit is contained in:
Ron Buckton
2016-09-12 14:52:08 -07:00
committed by GitHub

View File

@@ -252,7 +252,9 @@ const _super = (function (geti, seti) {
// Emit helpers from all the files
if (isBundledEmit && moduleKind) {
forEach(sourceFiles, emitEmitHelpers);
for (const sourceFile of sourceFiles) {
emitEmitHelpers(sourceFile);
}
}
// Print each transformed source file.