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

Unified Diff: test/message/arrow-formal-parameters.js

Issue 1236863008: Improve error message for duplicate parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arrow function test Created 5 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/parser.cc ('k') | test/message/arrow-formal-parameters.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/arrow-formal-parameters.js
diff --git a/test/mjsunit/regress/regress-crbug-489597.js-script b/test/message/arrow-formal-parameters.js
similarity index 87%
copy from test/mjsunit/regress/regress-crbug-489597.js-script
copy to test/message/arrow-formal-parameters.js
index cb4dd84df3eed3d5d80338782379d09cc5a8c26e..30f9c8604800879df5a265a7545ad9476d991e92 100644
--- a/test/mjsunit/regress/regress-crbug-489597.js-script
+++ b/test/message/arrow-formal-parameters.js
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
adamk 2015/07/14 19:16:19 Please add a --harmony-arrow-functions flag line
-throw new Error("boom");
+(b, a, a, d) => a
« no previous file with comments | « src/parser.cc ('k') | test/message/arrow-formal-parameters.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698