summaryrefslogtreecommitdiff
path: root/src/function-forms/rest-params-trailing-comma-early-error.case
diff options
context:
space:
mode:
Diffstat (limited to 'src/function-forms/rest-params-trailing-comma-early-error.case')
-rw-r--r--src/function-forms/rest-params-trailing-comma-early-error.case2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/function-forms/rest-params-trailing-comma-early-error.case b/src/function-forms/rest-params-trailing-comma-early-error.case
index ab2ad22c3..6f285b52d 100644
--- a/src/function-forms/rest-params-trailing-comma-early-error.case
+++ b/src/function-forms/rest-params-trailing-comma-early-error.case
@@ -5,7 +5,7 @@
desc: It's a syntax error if a FunctionRestParameter is followed by a trailing comma
template: syntax
negative:
- phase: early
+ phase: parse
type: SyntaxError
info: |
Trailing comma in the parameters list