Index: compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
diff --git a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
index 303ee79c6e8dd9041d38e9f85284e7a083b9b433..e73cb1a3fc2ac891b908d4fd38918ffc9143fba8 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
@@ -58,6 +58,7 @@ public enum TypeErrorCode implements ErrorCode { |
"static member %s of %s cannot be accessed through an instance"), |
SUPERTYPE_HAS_FIELD(ErrorSeverity.ERROR, "%s is a field in %s"), |
SUPERTYPE_HAS_METHOD(ErrorSeverity.ERROR, "%s is a method in %s"), |
+ TYPE_ALIAS_CANNOT_REFERENCE_ITSELF(ErrorSeverity.ERROR, "Type alias cannot reference itself directly of via other typedefs"), |
TYPE_VARIABLE_IN_STATIC_CONTEXT("cannot access type variable %s in static context"), |
TYPE_NOT_ASSIGNMENT_COMPATIBLE("'%s' is not assignable to '%s'"), |
USE_ASSIGNMENT_ON_SETTER("Use assignment to set field \"%s\" in %s"), |