Index: test/mjsunit/harmony/regress/regress-4658.js |
diff --git a/test/mjsunit/harmony/regress/regress-4658.js b/test/mjsunit/harmony/regress/regress-4658.js |
index 35bea12adcf74a81a3b252813aed8d7e441b8bbc..be035ac9d45f20465a1c0c1f1e50087f168af5fa 100644 |
--- a/test/mjsunit/harmony/regress/regress-4658.js |
+++ b/test/mjsunit/harmony/regress/regress-4658.js |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --harmony-do-expressions |
+// Flags: --harmony-do-expressions --noharmony-iterator-close |
(function testWithSimpleLoopVariable() { |
var f = (x, y = (do { var s=0; for (var e of x) s += e; s; })) => y*(y+1); |