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

Unified Diff: test/mjsunit/es6/block-conflicts.js

Issue 2109733003: Add errors for declarations which conflict with catch parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: correct loop index Created 4 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/es6/block-conflicts.js
diff --git a/test/mjsunit/es6/block-conflicts.js b/test/mjsunit/es6/block-conflicts.js
index 0e3d4e5a2ae80ec861b6552022628afb7b249a01..bca3cb4ea545a9981b8cd75f0cefb242d3ed6171 100644
--- a/test/mjsunit/es6/block-conflicts.js
+++ b/test/mjsunit/es6/block-conflicts.js
@@ -170,8 +170,5 @@ for (var v = 0; v < varbinds.length; ++v) {
TestNoConflict('(function (x) {' + varbinds[v] + '})();');
}
-// Test conflicting catch/function bindings.
-TestNoConflict('try {} catch(x) {' + funbind + '}');
-
// Test conflicting parameter/function bindings.
TestNoConflict('(function (x) {' + funbind + '})();');

Powered by Google App Engine
This is Rietveld 408576698