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

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

Issue 11788004: Issue 6578. Move 'getter/setter static mismatch' into type problems (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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 0f360ac9647f25a5987875bfae44e6647eee2fb8..2559923281c3a636616df2676614ff4be1a19c2f 100644
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
@@ -30,6 +30,7 @@ public enum TypeErrorCode implements ErrorCode {
"All case expressions should be compiler-time constants of the same type - 'int' or 'String'. '%s' expected but '%s' found"),
EXPECTED_POSITIONAL_ARGUMENT("Expected positional argument of type %s before named arguments"),
EXTRA_ARGUMENT("extra argument"),
+ FIELD_GETTER_SETTER_SAME_STATIC("Field's getter and setter should be both static or not static"),
FIELD_HAS_NO_GETTER("Field '%s' has no getter"),
FIELD_HAS_NO_SETTER("Field '%s' has no setter"),
FIELD_IS_FINAL("Field '%s' is final"),

Powered by Google App Engine
This is Rietveld 408576698