Index: test/message/arrow-two-rest-params.out |
diff --git a/test/message/formal-parameters-bad-rest.out b/test/message/arrow-two-rest-params.out |
similarity index 71% |
copy from test/message/formal-parameters-bad-rest.out |
copy to test/message/arrow-two-rest-params.out |
index 562b6ad49dd3600ef8dcee216c15b4fb83bc5208..7147ebcf119d97d11e310ac8424183ac88fbe0f7 100644 |
--- a/test/message/formal-parameters-bad-rest.out |
+++ b/test/message/arrow-two-rest-params.out |
@@ -1,4 +1,4 @@ |
*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter |
-function foo(...b, a) { return a } |
- ^ |
+(w, ...x, ...y) => 10 |
+ ^ |
SyntaxError: Rest parameter must be last formal parameter |