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 840a1a2050f2ad02fb6542178b3c2ba4822afe7c..1ee84edf27df1e4fc530b8aff9fde726f458d003 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -149,6 +149,7 @@ public enum ResolverErrorCode implements ErrorCode { |
// TODO(zundel): error message needs JUnit test (requires development mode checks) |
MAP_LITERAL_ELEMENT_TYPE( |
"Map literal element type must match declaration '%s' when type checks are on."), |
+ MEMBER_WITH_NAME_OF_CLASS("Class member should not have same name as the enclosing class"), |
Brian Wilkerson
2012/07/11 14:54:15
nit: "same" --> "the same"
|
METHOD_MUST_HAVE_BODY("A non-abstract method must have a body"), |
NAMED_PARAMETERS_CANNOT_START_WITH_UNDER("Named parameters cannot start with an '_' character"), |
NEW_EXPRESSION_CANT_USE_TYPE_VAR("New expression cannot be invoked on type variable"), |