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 634431c6ccea9da68ed6c966903e0a008b326e1d..019c9e447864c1838ef9a280b92f93271ea01df5 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -33,8 +33,10 @@ public enum ResolverErrorCode implements ErrorCode { |
CANNOT_RESOLVE_CONSTRUCTOR("cannot resolve constructor %s"), |
CANNOT_RESOLVE_FIELD("cannot resolve field %s"), |
CANNOT_RESOLVE_LABEL("cannot resolve label %s"), |
- CANNOT_RESOLVE_METHOD("cannot resolve method %s"), |
- CANNOT_RESOLVE_SUPER_CONSTRUCTOR("cannot resolve method %s"), |
+ CANNOT_RESOLVE_METHOD("cannot resolve method '%s'"), |
+ CANNOT_RESOLVE_METHOD_IN_CLASS("cannot resolve method '%s' in class '%s'"), |
+ CANNOT_RESOLVE_METHOD_IN_LIBRARY("cannot resolve method '%s' in library '%s'"), |
+ CANNOT_RESOLVE_SUPER_CONSTRUCTOR("cannot resolve method '%s'"), |
CANNOT_RESOLVE_IMPLICIT_CALL_TO_SUPER_CONSTRUCTOR( |
"super type %s does not have a default constructor"), |
CIRCULAR_REFERENCE( |
@@ -157,6 +159,7 @@ public enum ResolverErrorCode implements ErrorCode { |
TYPE_VARIABLE_NOT_ALLOWED_IN_IDENTIFIER( |
"type variables are not allowed in identifier expressions"), |
WRONG_NUMBER_OF_TYPE_ARGUMENTS("%s: wrong number of type arguments (%d). Expected %d"); |
+ |
private final ErrorSeverity severity; |
private final String message; |