Skip to content

Commit

Permalink
Fix issue with helper emit.
Browse files Browse the repository at this point in the history
Fixes #10800
  • Loading branch information
rbuckton committed Sep 12, 2016
1 parent 1fce34b commit cfe60fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/compiler/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cfe60fa

Please sign in to comment.