Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2026)

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java

Issue 10661022: Issue 3752. Support for @override annotations (as structured doc comments) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"),

Powered by Google App Engine
This is Rietveld 408576698