Fix issue with helper emit.

Fixes #10800
This commit is contained in:
rbuckton
2016-09-12 12:40:26 -07:00
parent 1fce34be71
commit cfe60face1

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.