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 003ae24e1a818cbf04ba7a2ccc1bdf71eeb39fff..34170b15ba4982ce3503ab424c43d38528358ca8 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -16,6 +16,7 @@ public enum ResolverErrorCode implements ErrorCode { |
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_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"), |
CANNOT_BE_RESOLVED_LIBRARY("cannot resolve %s in library %s"), |
CANNOT_BE_INITIALIZED("cannot be initialized"), |