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

Unified Diff: test/message/arrow-param-after-rest.js

Issue 1178523002: Support rest parameters in arrow functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Fix error locations for param-after-rest errors Created 5 years, 6 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
Index: test/message/arrow-param-after-rest.js
diff --git a/test/message/export-duplicate.js b/test/message/arrow-param-after-rest.js
similarity index 68%
copy from test/message/export-duplicate.js
copy to test/message/arrow-param-after-rest.js
index f45aefe13f8a427bd7ad5bced7da24db32ec5e25..0fade6c31d3cb6c2e82fb7027628fdfae96e1962 100644
--- a/test/message/export-duplicate.js
+++ b/test/message/arrow-param-after-rest.js
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// MODULE
+// Flags: --harmony-rest-parameters --harmony-arrow-functions
-var a, b;
-export { a };
-export { a, b };
+(...x, y) => 10

Powered by Google App Engine
This is Rietveld 408576698