| Index: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| index b3b597d1648081f0dc13b171bfe2c19e60dbc891..dc4ce2bfdf26f6d7e6eb358badc04d374adf63c0 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| @@ -156,7 +156,8 @@ public enum ResolverErrorCode implements ErrorCode {
|
| METHOD_MUST_HAVE_BODY("A non-abstract method must have a body"),
|
| NAMED_PARAMETERS_CANNOT_START_WITH_UNDER("Named parameters cannot start with an '_' character"),
|
| NEW_EXPRESSION_CANT_USE_TYPE_VAR("New expression cannot be invoked on type variable"),
|
| - NEW_EXPRESSION_NOT_CONSTRUCTOR("New expression does not resolve to a constructor"),
|
| + NEW_EXPRESSION_NOT_CONSTRUCTOR(
|
| + ErrorSeverity.WARNING, "New expression does not resolve to a constructor"),
|
| NO_SUCH_TYPE("no such type \"%s\""),
|
| NO_SUCH_TYPE_CONSTRUCTOR("no such type \"%s\" in constructor"),
|
| NOT_A_CLASS("\"%s\" is not a class"),
|
|
|