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

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

Issue 1411323008: Revert "Revert of [es6] Implement destructuring binding in try/catch" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: initialization_pos fix 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/message/destructuring-decl-no-init-array.js b/test/message/try-catch-variable-conflict.js
similarity index 86%
copy from test/message/destructuring-decl-no-init-array.js
copy to test/message/try-catch-variable-conflict.js
index 7a4fb00f596eba5c378c472d819cfd43218bd224..9b0749b28caaf35af16d9f2f47b7538eabfefc63 100644
--- a/test/message/destructuring-decl-no-init-array.js
+++ b/test/message/try-catch-variable-conflict.js
@@ -4,4 +4,7 @@
//
// Flags: --harmony-destructuring
-var [ a, b, c ];
+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