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 1a6b82cca5ea8b00a09bac5e50c1199f7dff118b..c6ce59d73924e883776fd9adab93d61d1c6123d7 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -98,6 +98,7 @@ public enum ResolverErrorCode implements ErrorCode { |
STATIC_METHOD_ACCESS_SUPER("Cannot use 'super' in a static method"), |
STATIC_METHOD_ACCESS_THIS("Cannot use 'this' in a static method"), |
SUPER_OUTSIDE_OF_METHOD("Cannot use 'super' outside of a method"), |
+ TOO_MANY_QUALIFIERS_FOR_METHOD("Too many qualifiers for method or constructor"), |
TOP_LEVEL_METHOD_ACCESS_SUPER("Cannot use 'super' in a top-level method"), |
TOP_LEVEL_METHOD_ACCESS_THIS("Cannot use 'this' in a top-level method"), |
TYPE_NOT_ASSIGNMENT_COMPATIBLE("%s is not assignable to %s"), |
@@ -121,14 +122,17 @@ public enum ResolverErrorCode implements ErrorCode { |
this.message = message; |
} |
+ @Override |
public String getMessage() { |
return message; |
} |
+ @Override |
public ErrorSeverity getErrorSeverity() { |
return severity; |
} |
+ @Override |
public SubSystem getSubSystem() { |
return SubSystem.RESOLVER; |
} |