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

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

Issue 1100713002: Factor formal argument parsing into ParserBase (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Avoid DuplicateFinder creation in the full parser 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 | « test/message/formal-parameters-bad-rest.js ('k') | test/message/formal-parameters-strict-body.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « test/message/formal-parameters-bad-rest.js ('k') | test/message/formal-parameters-strict-body.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698