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

Unified Diff: test/cctest/test-parsing.cc

Issue 1409093005: Re-re-land "[es6] Implement destructuring binding in try/catch" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/preparser.cc ('k') | test/message/try-catch-lexical-conflict.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index 1c4a3c14cb94037a659cf2d4a9ec6f030efc441a..93f9ebdcc3364fb8287cfe0ce76869088004462b 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -6514,6 +6514,7 @@ TEST(DestructuringPositiveTests) {
{"function f(argument1, ", ") {}"},
{"var f = (", ") => {};"},
{"var f = (argument1,", ") => {};"},
+ {"try {} catch(", ") {}"},
{NULL, NULL}};
// clang-format off
@@ -6575,6 +6576,7 @@ TEST(DestructuringNegativeTests) {
{"var f = (", ") => {};"},
{"var f = ", " => {};"},
{"var f = (argument1,", ") => {};"},
+ {"try {} catch(", ") {}"},
{NULL, NULL}};
// clang-format off
« no previous file with comments | « src/preparser.cc ('k') | test/message/try-catch-lexical-conflict.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698