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

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

Issue 10545029: Issue 3181. Only fields of immediately surrounding class can be initialized (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
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 f39c7f21002c33770132746ec6878411d65dfc06..808df2ec007aa0a34bd4a9eef938a8149fab4315 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -26,7 +26,7 @@ public enum ResolverErrorCode implements ErrorCode {
CANNOT_CALL_LIBRARY_PREFIX("Library prefixes cannot be called"),
CANNOT_DECLARE_NON_FACTORY_CONSTRUCTOR(
"Cannot declare a non-factory named constructor of another class."),
- CANNOT_INIT_FIELD_FROM_SUPERCLASS("Cannot initialize a field from a super class"),
+ INIT_FIELD_ONLY_IMMEDIATELY_SURROUNDING_CLASS("Only fields of immediately surrounding class can be initialized"),
Brian Wilkerson 2012/06/06 14:00:08 This should be moved so that the constants are sti
CANNOT_INIT_STATIC_FIELD_IN_INITIALIZER("Cannot initialize a static field in an initializer list"),
CANNOT_OVERRIDE_INSTANCE_MEMBER("static member cannot override instance member %s of %s"),
CANNOT_OVERRIDE_METHOD_NUM_REQUIRED_PARAMS(

Powered by Google App Engine
This is Rietveld 408576698