| Index: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java (revision 8407)
|
| +++ compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java (working copy)
|
| @@ -47,11 +47,13 @@
|
| CONSTRUCTOR_CANNOT_BE_STATIC("A constructor cannot be static"),
|
| CONSTRUCTOR_CANNOT_HAVE_RETURN_TYPE("Generative constructors cannot have return type"),
|
| CONST_AND_NONCONST_CONSTRUCTOR("Cannot reference to non-const constructor."),
|
| + CONST_ARRAY_WITH_TYPE_VARIABLE("Const array literals cannot have a type variable as a type argument"),
|
| CONST_CLASS_WITH_INHERITED_NONFINAL_FIELDS(
|
| "Const class %s cannot have non-final, inherited field %s from class %s"),
|
| CONST_CLASS_WITH_NONFINAL_FIELDS("Const class %s cannot have non-final field %s"),
|
| CONST_CONSTRUCTOR_CANNOT_HAVE_BODY("A const constructor cannot have a body"),
|
| CONST_CONSTRUCTOR_MUST_CALL_CONST_SUPER("const constructor must call const super constructor"),
|
| + CONST_MAP_WITH_TYPE_VARIABLE("Const map literals cannot have a type variable as a type argument"),
|
| CONSTANTS_MUST_BE_INITIALIZED("constants must be initialized"),
|
| CYCLIC_CLASS("%s causes a cycle in the supertype graph"),
|
| DEFAULT_CLASS_MUST_HAVE_SAME_TYPE_PARAMS(
|
|
|