Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 15078416a7660609d674e2db6e3f381e3894b9f9..47b3ed1bfec793043c570ea88c3585c1132708a4 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -313,6 +313,8 @@ class CallSite { |
"Illegal '%' directive in function with non-simple parameter list") \ |
T(IllegalReturn, "Illegal return statement") \ |
T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ |
+ T(InvalidCoverInitializedName, "Invalid shorthand property initializer") \ |
+ T(InvalidDestructuringTarget, "Invalid destructuring assignment target") \ |
T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ |
T(InvalidLhsInPostfixOp, \ |
"Invalid left-hand side expression in postfix operation") \ |
@@ -333,6 +335,7 @@ class CallSite { |
T(PushPastSafeLength, \ |
"Pushing % elements on an array-like of length % " \ |
"is disallowed, as the total surpasses 2**53-1") \ |
+ T(ElementAfterRest, "Rest element must be last element in array") \ |
T(BadSetterRestParameter, \ |
"Setter function argument must not be a rest parameter") \ |
T(ParamDupe, "Duplicate parameter name not allowed in this context") \ |