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

Unified Diff: test/message/try-catch-lexical-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/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/message/destructuring-decl-no-init-obj2.js b/test/message/try-catch-lexical-conflict.js
similarity index 81%
copy from test/message/destructuring-decl-no-init-obj2.js
copy to test/message/try-catch-lexical-conflict.js
index 928434acf52638a28a08493ec518a7ad30b46780..efb1ec7e015be38b408cfc877576151393154e0d 100644
--- a/test/message/destructuring-decl-no-init-obj2.js
+++ b/test/message/try-catch-lexical-conflict.js
@@ -4,4 +4,8 @@
//
// Flags: --harmony-destructuring
-for (var { a, b, c }; a && b && c; ) {}
+"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