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

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

Issue 10661056: Issue 3860. Check that setter/getter are both static or not static (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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 af5715b678ac0cd23d7fb664cad14ddbc496a1f9..952f16b60303e08efcbf9f4c530d1b639d3df9fe 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -111,6 +111,7 @@ public enum ResolverErrorCode implements ErrorCode {
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"),
+ FIELD_GETTER_SETTER_SAME_STATIC("Field's getter and setter should be both static or not static"),
FINAL_FIELD_MUST_BE_INITIALIZED("The final field %s must be initialized"),
ILLEGAL_ACCESS_TO_PRIVATE("'%s' is private and not defined in this library"),
ILLEGAL_ACCESS_TO_PRIVATE_MEMBER("\"%s\" refers to \"%s\" which is in a different library"),
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698