| Index: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
|
| diff --git a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
|
| index c62ac12369de86efd59d43bfe046e05df8c6eef4..e2525f6c8d056e14574002452d26385e79d77155 100644
|
| --- a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
|
| @@ -39,13 +39,18 @@ public enum ParserErrorCode implements ErrorCode {
|
| FUNCTION_TYPED_PARAMETER_IS_FINAL("Formal parameter with a function type cannot be const"),
|
| FUNCTION_TYPED_PARAMETER_IS_VAR("Formal parameter with a function type cannot be var"),
|
| ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE("Illegal assignment to non-assignable expression"),
|
| - ILLEGAL_NUMBER_OF_ARGUMENTS("Illegal number of arguments"),
|
| + ILLEGAL_NUMBER_OF_PARAMETERS("Illegal number of parameters"),
|
| INCOMPLETE_STRING_LITERAL("Incomplete string literal"),
|
| INVALID_FIELD_DECLARATION("Wrong syntax for field declaration"),
|
| INVALID_OPERATOR_CHAINING("Cannot chain '%s'"),
|
| MISSING_FUNCTION_NAME("a function name is required for a declaration"),
|
| NON_FINAL_STATIC_MEMBER_IN_INTERFACE("Non-final static members are not allowed in interfaces"),
|
| OPERATOR_CANNOT_BE_STATIC("Operators cannot be static"),
|
| + REDIRECTING_CONSTRUCTOR_PARAM("Redirecting constructor can not have initializers"),
|
| + REDIRECTING_CONSTRUCTOR_ITSELF("Redirecting constructor can not have initializers"),
|
| + REDIRECTING_CONSTRUCTOR_MULTIPLE("Multiple redirecting constructor invocations"),
|
| + REDIRECTING_CONSTRUCTOR_OTHER("Redirecting constructor can not have initializers"),
|
| + SUPER_CONSTRUCTOR_MULTIPLE("'super' must be called only once in the initialization list"),
|
| TOP_LEVEL_IS_STATIC("Top-level field or method may not be static"),
|
| UNEXPECTED_TOKEN("Unexpected token '%s'"),
|
| UNEXPECTED_TOKEN_IN_STRING_INTERPOLATION("Unexpected token in string interpolation: %s"),
|
|
|