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 2559923281c3a636616df2676614ff4be1a19c2f..70eb6a45213e90215fe238102ca096858c5657ce 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java |
@@ -49,6 +49,7 @@ public enum TypeErrorCode implements ErrorCode { |
MEMBER_IS_A_CONSTRUCTOR("%s is a constructor in %s"), |
MISSING_ARGUMENT("missing argument of type %s"), |
MISSING_RETURN_VALUE("no return value; expected a value of type %s"), |
+ NEW_EXPRESSION_NOT_CONSTRUCTOR("New expression does not resolve to a constructor"), |
NO_SUCH_NAMED_PARAMETER("no such named parameter \"%s\" defined"), |
NO_SUCH_TYPE("no such type \"%s\"", true), |
NOT_A_FUNCTION_TYPE("\"%s\" is not a function type"), |