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

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

Issue 9979004: Show an error if a field has no getter defined in a getter context (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated feedback. Created 8 years, 9 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 38bf7485a0bfc18ff334375634429f0c33bf3cfc..634431c6ccea9da68ed6c966903e0a008b326e1d 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -96,6 +96,8 @@ public enum ResolverErrorCode implements ErrorCode {
FACTORY_CANNOT_BE_CONST("A factory cannot be const"),
FACTORY_CANNOT_BE_STATIC("A factory cannot be static"),
FIELD_CONFLICTS("%s conflicts with previously defined %s at line %d column %d"),
+ FIELD_DOES_NOT_HAVE_A_GETTER("Field does not have a getter"),
+ FIELD_DOES_NOT_HAVE_A_SETTER("Field does not have a setter"),
FINAL_FIELD_MUST_BE_INITIALIZED("The final field %s must be initialized"),
ILLEGAL_ACCESS_TO_PRIVATE_MEMBER("\"%s\" refers to \"%s\" which is in a different library"),
ILLEGAL_CONSTRUCTOR_NO_DEFAULT_IN_INTERFACE(

Powered by Google App Engine
This is Rietveld 408576698