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

Unified Diff: test/message/invalid-spread.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/invalid-spread.js
diff --git a/test/message/export-duplicate-as.js b/test/message/invalid-spread.js
similarity index 70%
copy from test/message/export-duplicate-as.js
copy to test/message/invalid-spread.js
index 49b52d4b17177e9443445f00379227cce07a034d..e58334e9939be9a256b7c3d8a5367e1fe1ed7ef8 100644
--- a/test/message/export-duplicate-as.js
+++ b/test/message/invalid-spread.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 as c };
-export { a, b as c };
+(x, ...y)

Powered by Google App Engine
This is Rietveld 408576698