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

Unified Diff: test/message/try-catch-variable-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/message/try-catch-lexical-conflict.out ('k') | test/message/try-catch-variable-conflict.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/try-catch-variable-conflict.js
diff --git a/test/mjsunit/harmony/regress/regress-517455.js b/test/message/try-catch-variable-conflict.js
similarity index 84%
copy from test/mjsunit/harmony/regress/regress-517455.js
copy to test/message/try-catch-variable-conflict.js
index a59fa181b7aac448df06f2ec0b5c90f32c048981..9b0749b28caaf35af16d9f2f47b7538eabfefc63 100644
--- a/test/mjsunit/harmony/regress/regress-517455.js
+++ b/test/message/try-catch-variable-conflict.js
@@ -4,5 +4,7 @@
//
// Flags: --harmony-destructuring
-function f({x = ""}) { eval(x) }
-f({})
+try {
+} catch ({x}) {
+ var x;
+}
« no previous file with comments | « test/message/try-catch-lexical-conflict.out ('k') | test/message/try-catch-variable-conflict.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698