Chromium Code Reviews| 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 d7469e5a929be11fdaa6d1e2a25590de35478fde..8038c0e6a668ee42dec4dcd136a3d106b9ec2695 100644 | 
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java | 
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java | 
| @@ -123,6 +123,7 @@ public enum ResolverErrorCode implements ErrorCode { | 
| INSTANCE_METHOD_FROM_REDIRECT("Instance methods cannot be referenced from constructor redirects"), | 
| INSTANCE_METHOD_FROM_STATIC("Instance methods cannot be referenced from static methods"), | 
| INTERNAL_ERROR("internal error: %s"), | 
| + INVALID_OVERRIDE_METADATA("Method marked with @override, but does not override any superclass element"), | 
| 
 
Brian Wilkerson
2012/06/25 14:24:38
This should be a warning, not an error.
I think w
 
scheglov
2012/06/26 19:46:34
I saw that ErrorSeverity.INFO was added for this.
 
 | 
| INVALID_RETURN_IN_CONSTRUCTOR("Generative constructors cannot return arbitrary expressions"), | 
| INVALID_TYPE_NAME_IN_CONSTRUCTOR("Invalid type in constructor name"), | 
| IS_A_CLASS("%s is a class and cannot be used as an expression"), |