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

Unified Diff: test/mjsunit/regress/regress-5178.js

Issue 2123953002: [parser] Fix bug in destructuring binding for catch. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/parsing/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-5178.js
diff --git a/test/mjsunit/regress/regress-4967.js b/test/mjsunit/regress/regress-5178.js
similarity index 70%
copy from test/mjsunit/regress/regress-4967.js
copy to test/mjsunit/regress/regress-5178.js
index 9b36405cf4ec5538111a681e407be75fd93a08b9..bc0dd118d09be270cd659379767856f83c921718 100644
--- a/test/mjsunit/regress/regress-4967.js
+++ b/test/mjsunit/regress/regress-5178.js
@@ -3,7 +3,5 @@
// found in the LICENSE file.
assertThrows(() => {
- new class extends Object {
- constructor() { (() => delete super[super()])(); }
- }
+ try { throw {} } catch({a=b, b}) { a+b }
adamk 2016/07/12 21:15:22 Can you also add a test case where we do a hole ch
}, ReferenceError);
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698