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

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

Issue 1064433008: Re-apply formal argument, arrow function parsing refactors (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Remove stale declaration that crept in with last patch 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.out
diff --git a/test/message/formal-parameters-bad-rest.out b/test/message/formal-parameters-bad-rest.out
new file mode 100644
index 0000000000000000000000000000000000000000..562b6ad49dd3600ef8dcee216c15b4fb83bc5208
--- /dev/null
+++ b/test/message/formal-parameters-bad-rest.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter
+function foo(...b, a) { return a }
+ ^
+SyntaxError: Rest parameter must be last formal parameter

Powered by Google App Engine
This is Rietveld 408576698