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 173c195a87dd05d06f3bfa4a4a9a1516f199d2e2..480e78d90f8b9f13e8d0432ad6a8b2c28af4c7bc 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -176,6 +176,8 @@ public enum ResolverErrorCode implements ErrorCode { |
"Parameter initializers cannot be used with redirected constructors"), |
// TODO(zundel): error message needs JUnit test |
PARAMETER_NOT_MATCH_FIELD("Could not match parameter initializer '%s' with any field"), |
+ REDIRECTION_CONSTRUCTOR_TARGET_MUST_BE_CONST( |
+ "Target of constant redirecting factory constructor also should be constant"), |
RETHROW_NOT_IN_CATCH("Re-throw not in a catch block"), |
STATIC_FINAL_REQUIRES_VALUE("Static final fields must have an initial value"), |
SUPER_IN_FACTORY_CONSTRUCTOR("Cannot use 'super' in a factory constructor"), |