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 2b3ac105be0e2f2637a3688dd9d6e030acfc1c74..10a8451d330a218f9970ab372cc111f7b066893c 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
@@ -52,6 +52,7 @@ public enum TypeErrorCode implements ErrorCode { |
NOT_A_FUNCTION("\"%s\" is not a function"), |
NOT_A_MEMBER_OF("\"%s\" is not a member of %s"), |
NOT_A_METHOD_IN("\"%s\" is not a method in %s"), |
+ NOT_A_TYPE("type \"%s\" expected, but \"%s\" found"), |
OPERATOR_EQUALS_BOOL_RETURN_TYPE("operator 'equals' should return bool type"), |
OPERATOR_INDEX_ASSIGN_VOID_RETURN_TYPE("operator '[]=' must have a return type of 'void'"), |
OPERATOR_NEGATE_NUM_RETURN_TYPE("operator 'negate' should return numeric type"), |