| Index: src/messages.h
|
| diff --git a/src/messages.h b/src/messages.h
|
| index 8bc11cb63587c6f61676f7da4acd9f590f7c12e2..67be1a3c9b4d69af36c3592d13c281f3be468453 100644
|
| --- a/src/messages.h
|
| +++ b/src/messages.h
|
| @@ -71,7 +71,6 @@ class CallSite {
|
| int32_t pos_;
|
| };
|
|
|
| -
|
| #define MESSAGE_TEMPLATES(T) \
|
| /* Error */ \
|
| T(None, "") \
|
| @@ -417,6 +416,8 @@ class CallSite {
|
| T(NoCatchOrFinally, "Missing catch or finally after try") \
|
| T(NotIsvar, "builtin %%IS_VAR: not a variable") \
|
| T(ParamAfterRest, "Rest parameter must be last formal parameter") \
|
| + T(InvalidRestParameter, \
|
| + "Rest parameter must be an identifier or destructuring pattern") \
|
| T(PushPastSafeLength, \
|
| "Pushing % elements on an array-like of length % " \
|
| "is disallowed, as the total surpasses 2**53-1") \
|
|
|