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

Unified Diff: test/message/arrow-param-after-rest-2.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-2.js
diff --git a/test/message/export-duplicate.js b/test/message/arrow-param-after-rest-2.js
similarity index 67%
copy from test/message/export-duplicate.js
copy to test/message/arrow-param-after-rest-2.js
index f45aefe13f8a427bd7ad5bced7da24db32ec5e25..3b42f1924705ffbc30094ec1288c696629c7da9b 100644
--- a/test/message/export-duplicate.js
+++ b/test/message/arrow-param-after-rest-2.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 };
+(w, ...x, y) => 10

Powered by Google App Engine
This is Rietveld 408576698