Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Unified Diff: test/mjsunit/strong/declaration-after-use.js

Issue 1218543003: [es6] Ensure that for-in/of loops have a proper TDZ for their boundnames (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix rebase merge Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/strong/declaration-after-use.js
diff --git a/test/mjsunit/strong/declaration-after-use.js b/test/mjsunit/strong/declaration-after-use.js
index 05df8e835c9b4e9bc8f280374353f270983dac2f..af93bd811f5b7452987d4eea431d778b6834e5cf 100644
--- a/test/mjsunit/strong/declaration-after-use.js
+++ b/test/mjsunit/strong/declaration-after-use.js
@@ -192,10 +192,6 @@ function assertThrowsHelper(code) {
i;
}
- let var6 = [1, 2];
- // The second var6 resolves to outside (not to the first var6).
- for (let var6 of var6) { var6; }
-
try {
throw "error";
} catch (e) {

Powered by Google App Engine
This is Rietveld 408576698