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 019c9e447864c1838ef9a280b92f93271ea01df5..ec619ee9c3c678dbaffe50c5a4dd2432991b148a 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
@@ -132,6 +132,8 @@ public enum ResolverErrorCode implements ErrorCode { |
NOT_AN_INSTANCE_FIELD("%s is not an instance field"), |
REDIRECTED_CONSTRUCTOR_CYCLE("Redirected constructor call has a cycle."), |
PARAMETER_INIT_OUTSIDE_CONSTRUCTOR("Parameter initializers can only be used in constructors"), |
+ SUPER_METHOD_INVOCATION_IN_CONSTRUCTOR_INITIALIZER( |
+ "Super mathod invocation is not allowed in constructor initializer"), |
devoncarew
2012/04/18 20:40:46
Super method (sp)
|
PARAMETER_INIT_STATIC_FIELD( |
"Parameter initializer cannot be use to initialize a static field '%s'"), |
PARAMETER_INIT_WITH_REDIR_CONSTRUCTOR( |