diff --git a/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/actual.js b/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/actual.js index ea23c63431..64ebb67787 100644 --- a/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/actual.js +++ b/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/actual.js @@ -6,6 +6,8 @@ export function nextOdd(n) { export var p = 5; +for (var a in b) ; + export var isOdd = (function (isEven) { return function (n) { return !isEven(n); diff --git a/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/expected.js b/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/expected.js index ad3421dd2e..015638ae6d 100644 --- a/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/expected.js +++ b/test/core/fixtures/transformation/es6.modules-system/hoist-function-exports/expected.js @@ -1,7 +1,7 @@ System.register(["./evens"], function (_export) { "use strict"; - var isEven, p, isOdd; + var isEven, p, a, isOdd; _export("nextOdd", nextOdd); @@ -16,6 +16,8 @@ System.register(["./evens"], function (_export) { execute: function () { p = 5; + for (a in b) ; + _export("p", p); isOdd = (function (isEven) {