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

Unified Diff: test/message/try-catch-lexical-conflict.js

Issue 1417483014: [es6] Implement destructuring binding in try/catch (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix CheckConflictingVariableDeclarations to deal with destructuring Created 5 years, 1 month 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/cctest/test-parsing.cc ('k') | test/message/try-catch-lexical-conflict.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/try-catch-lexical-conflict.js
diff --git a/test/mjsunit/harmony/regress/regress-517455.js b/test/message/try-catch-lexical-conflict.js
similarity index 81%
copy from test/mjsunit/harmony/regress/regress-517455.js
copy to test/message/try-catch-lexical-conflict.js
index a59fa181b7aac448df06f2ec0b5c90f32c048981..efb1ec7e015be38b408cfc877576151393154e0d 100644
--- a/test/mjsunit/harmony/regress/regress-517455.js
+++ b/test/message/try-catch-lexical-conflict.js
@@ -4,5 +4,8 @@
//
// Flags: --harmony-destructuring
-function f({x = ""}) { eval(x) }
-f({})
+"use strict";
+try {
+} catch ({x}) {
+ let x;
+}
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/message/try-catch-lexical-conflict.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698