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

Unified Diff: test/message/arrow-bare-rest-param.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-bare-rest-param.js
diff --git a/test/message/export-duplicate-default.js b/test/message/arrow-bare-rest-param.js
similarity index 70%
copy from test/message/export-duplicate-default.js
copy to test/message/arrow-bare-rest-param.js
index 72a54a45f40b3d6718b670a3cbb832154032da6d..9b3916d95952e7eb3f5cd61d02f634a994071c43 100644
--- a/test/message/export-duplicate-default.js
+++ b/test/message/arrow-bare-rest-param.js
@@ -2,7 +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
-export default function f() {};
-export default class C {};
+...x => 10

Powered by Google App Engine
This is Rietveld 408576698