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

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

Issue 1384413002: Destructuring array without initializer throws an exception (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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/pattern-rewriter.cc ('k') | test/mjsunit/harmony/destructuring.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 dd73a43c9b9bba8e7485c1472d252e2c2bd0186d..8f6ea2b0b2fc3d8529cc950753ed338bd9c260e7 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -7179,13 +7179,11 @@ TEST(LetSloppyOnly) {
"for (var [let] = 1; let < 1; let++) {}",
"for (var [let] in {}) {}",
"var let",
- // Unrelated parser crash BUG(v8:4462)
- // "var [let]",
+ "var [let]",
"for (const let = 1; let < 1; let++) {}",
"for (const let in {}) {}",
"for (const [let] = 1; let < 1; let++) {}",
- // Unrelated parser crash BUG(v8:4461)
- // "for (const [let] in {}) {}",
+ "for (const [let] in {}) {}",
"const let",
"const [let]",
NULL
« no previous file with comments | « src/pattern-rewriter.cc ('k') | test/mjsunit/harmony/destructuring.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698