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 2c5e1952c78262e6e2510f137d42c9da6b87fd0f..4d00e53384d5e51aecacb9fa70ca7ad96d2be773 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -13,8 +13,9 @@ import com.google.dart.compiler.SubSystem; |
public enum ResolverErrorCode implements ErrorCode { |
BLACK_LISTED_EXTENDS("'%s' can not be used as superclass"), |
BLACK_LISTED_IMPLEMENTS("'%s' can not be used as superinterface"), |
- CANNOT_ACCESS_OUTER_LABEL("Cannot access label %s declared in an outer function"), |
CANNOT_ACCESS_FIELD_IN_INIT("Cannot access an instance field in an initializer expression"), |
+ CANNOT_ACCESS_METHOD(ErrorSeverity.WARNING, "Cannot access private method '%s'"), |
+ CANNOT_ACCESS_OUTER_LABEL("Cannot access label %s declared in an outer function"), |
CANNOT_ASSIGN_TO_FINAL("cannot assign value to final variable \"%s\"."), |
CANNOT_ASSIGN_TO_METHOD("cannot assign value to method '%s'."), |
CANNOT_BE_RESOLVED("cannot resolve %s"), |