Chromium Code Reviews| 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 8be8e661936fe32469535a6e7c3e90e9ac4ddd4a..64afe6b200c8dbc76226a053743887381a07729d 100644 |
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java |
| @@ -79,8 +79,9 @@ public enum ResolverErrorCode implements ErrorCode { |
| METHOD_MUST_HAVE_BODY("A non-abstract method must have a body"), |
| NAME_CLASHES_EXISTING_MEMBER( |
| "name clashes with a previously defined member at %sline %d column %d"), |
| - NEW_EXPRESSION_NOT_CONSTRUCTOR("New expression does not resolve to a constructor"), |
| NEW_EXPRESSION_CANT_USE_TYPE_VAR("New expression cannot be invoked on type variable"), |
| + NEW_EXPRESSION_FACTORY_CONSTRUCTOR("Can not resolve constructor with name '%s' in factory '%s'"), |
|
zundel
2011/11/30 21:22:14
this looks more like the message the VM gives.
|
| + NEW_EXPRESSION_NOT_CONSTRUCTOR("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"), |