| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| index 1919736a6a717c9e3223c19baaa08307d3c69bca..075e0a6a97e750f007c2d97421be22dfe77fe072 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
|
| @@ -136,6 +136,14 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| CONST_CONSTRUCTOR_THROWS_EXCEPTION("'const' constructors cannot throw exceptions"),
|
|
|
| /**
|
| + * 7.6.3 Constant Constructors: The superinitializer that appears, explicitly or implicitly, in
|
| + * the initializer list of a constant constructor must specify a constant constructor of the
|
| + * superclass of the immediately enclosing class or a compile-time error occurs.
|
| + */
|
| + CONST_CONSTRUCTOR_WITH_NON_CONST_SUPER(
|
| + "Constant constructor cannot call non-constant super constructor"),
|
| +
|
| + /**
|
| * 7.6.3 Constant Constructors: It is a compile-time error if a constant constructor is declared
|
| * by a class that has a non-final instance variable.
|
| * <p>
|
|
|