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

Unified Diff: test/message/formal-parameters-bad-rest.js

Issue 1064433008: Re-apply formal argument, arrow function parsing refactors (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Refactor to add formal parameters directly to the scope Created 5 years, 8 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/formal-parameters-bad-rest.js
diff --git a/test/message/import-as-eval.js b/test/message/formal-parameters-bad-rest.js
similarity index 70%
copy from test/message/import-as-eval.js
copy to test/message/formal-parameters-bad-rest.js
index 66adc32cbe435b8cbaf451e1373520a5edea2663..c67e1de93fed808fb0578e9029dabef201ab51e4 100644
--- a/test/message/import-as-eval.js
+++ b/test/message/formal-parameters-bad-rest.js
@@ -2,6 +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
-import { foo as eval } from "mod";
+function foo(...b, a) { return a }

Powered by Google App Engine
This is Rietveld 408576698