| 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 c738a8b1976c70c081442bc50e034f07d43c13b7..b8d16b92cd5e2c0a923fadfdd2c5fa7fa6624a64 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
|
| @@ -1099,6 +1099,13 @@ public enum CompileTimeErrorCode implements ErrorCode {
|
| TYPE_ARGUMENT_NOT_MATCHING_BOUNDS("'%s' does not extend '%s'"),
|
|
|
| /**
|
| + * 15.3.1 Typedef: It is a compile-time error if a typedef refers to itself via a chain of
|
| + * references that does not include a class declaration.
|
| + */
|
| + TYPE_ALIAS_CANNOT_REFERENCE_ITSELF(
|
| + "Type alias cannot reference itself directly or via other typedefs"),
|
| +
|
| + /**
|
| * 12.11.2 Const: It is a compile-time error if <i>T</i> is not a class accessible in the current
|
| * scope, optionally followed by type arguments.
|
| */
|
|
|