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

Unified Diff: test/message/arrow-param-after-rest.out

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
« no previous file with comments | « test/message/arrow-param-after-rest.js ('k') | test/message/arrow-param-after-rest-2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/arrow-param-after-rest.out
diff --git a/test/message/formal-parameters-bad-rest.out b/test/message/arrow-param-after-rest.out
similarity index 71%
copy from test/message/formal-parameters-bad-rest.out
copy to test/message/arrow-param-after-rest.out
index 562b6ad49dd3600ef8dcee216c15b4fb83bc5208..5b36e43584e41bb14ff628947b12bb786ae7ca95 100644
--- a/test/message/formal-parameters-bad-rest.out
+++ b/test/message/arrow-param-after-rest.out
@@ -1,4 +1,4 @@
*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter
-function foo(...b, a) { return a }
- ^
+(...x, y) => 10
+ ^
arv (Not doing code reviews) 2015/06/10 15:40:01 I Thought you meant that this should have been poi
SyntaxError: Rest parameter must be last formal parameter
« no previous file with comments | « test/message/arrow-param-after-rest.js ('k') | test/message/arrow-param-after-rest-2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698