Chromium Code Reviews| Index: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
| diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
| index 3ff455af1b594d5c4093ebe03dde6e33727080ca..0664a803a009c2277ce809626060e72aff4244bd 100644 |
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
| @@ -58,6 +58,7 @@ public enum ResolverErrorCode implements ErrorCode { |
| 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"), |
| + CONST_WITH_TYPE_VARIABLE("Const constructor cannot be invoked a type variable as a type argument"), |
|
Brian Wilkerson
2012/06/19 19:45:19
nit: "invoked" --> "invoked with"
|
| 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( |