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

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

Issue 9186037: Issue 986: Static type warning when overriding static super members (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updating enum name Created 8 years, 11 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/TypeErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
index 0a8c9f619455213cbac5da2c80ea1c05a331f6f0..24324da94d01b6765e4dc0c064c9a40781ce7e01 100644
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
@@ -39,6 +39,7 @@ public enum TypeErrorCode implements ErrorCode {
NOT_A_METHOD_IN("\"%s\" is not a method in %s"),
NOT_A_TYPE("type \"%s\" expected, but \"%s\" found"),
OPERATOR_WRONG_OPERAND_TYPE("operand of \"%s\" must be assignable to \"%s\""),
+ OVERRIDING_INHERITED_STATIC_MEMBER("overriding inherited static member %s of %s"),
SETTER_RETURN_TYPE("Specified return type of setter '%s' is non-void"),
STATIC_MEMBER_ACCESSED_THROUGH_INSTANCE(
"static member %s of %s cannot be accessed through an instance"),

Powered by Google App Engine
This is Rietveld 408576698