Index: test/message/arrow-param-after-rest-2.out |
diff --git a/test/message/formal-parameters-bad-rest.out b/test/message/arrow-param-after-rest-2.out |
similarity index 71% |
copy from test/message/formal-parameters-bad-rest.out |
copy to test/message/arrow-param-after-rest-2.out |
index 562b6ad49dd3600ef8dcee216c15b4fb83bc5208..27785cfb02a85051aa217acf36c4743ca4a8779a 100644 |
--- a/test/message/formal-parameters-bad-rest.out |
+++ b/test/message/arrow-param-after-rest-2.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 |