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 4b1ac020777b9974d55082fac5dff3a684666f21..e5d03ab5c6f3df10fe1b72b6dfc8d4f39a41cee6 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -48,6 +48,9 @@ public enum ResolverErrorCode implements ErrorCode { |
CANNOT_RESOLVE_SUPER_CONSTRUCTOR("cannot resolve method '%s'"), |
CANNOT_RESOLVE_IMPLICIT_CALL_TO_SUPER_CONSTRUCTOR( |
"super type %s does not have a default constructor"), |
+ CANNOT_USE_INSTANCE_FIELD_IN_INSTANCE_FIELD_INITIALIZER( |
+ "Cannot use instance field in instance field initializer"), |
+ CANNOT_USE_THIS_IN_INSTANCE_FIELD_INITIALIZER("Cannot use 'this' in instance field initializer"), |
CANNOT_USE_TYPE("Cannot reference the type '%s' in this context"), |
// TODO(zundel): error message needs JUnit test (reachable code?) |
CANNOT_USE_TYPE_VARIABLE("Cannot reference the type variable '%s' in this context"), |