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

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

Issue 1078093002: Factor formal argument parsing into ParserBase (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Rebase on top of "undefined" error detection, remove bits of utils.h patch that crept in 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
« no previous file with comments | « src/preparser.cc ('k') | test/message/formal-parameters-bad-rest.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 }
« no previous file with comments | « src/preparser.cc ('k') | test/message/formal-parameters-bad-rest.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698