Chromium Code Reviews| 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( |