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

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

Issue 2112223002: Revert of Add errors for declarations which conflict with catch parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « test/mjsunit/es6/block-conflicts.js ('k') | test/mjsunit/es6/block-sloppy-function.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/block-conflicts-sloppy.js
diff --git a/test/mjsunit/es6/block-conflicts-sloppy.js b/test/mjsunit/es6/block-conflicts-sloppy.js
index b2ebfce6c995e6de6c4012e159a748e2f6e72b97..866abeef4b076019239f18530a9855ce164cd3c2 100644
--- a/test/mjsunit/es6/block-conflicts-sloppy.js
+++ b/test/mjsunit/es6/block-conflicts-sloppy.js
@@ -170,5 +170,8 @@
TestNoConflict('(function (x) {' + varbinds[v] + '})();');
}
+// Test conflicting catch/function bindings.
+TestNoConflict('try {} catch(x) {' + funbind + '}');
+
// Test conflicting parameter/function bindings.
TestNoConflict('(function (x) {' + funbind + '})();');
« no previous file with comments | « test/mjsunit/es6/block-conflicts.js ('k') | test/mjsunit/es6/block-sloppy-function.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698