| 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 491b4cc95cc408f1c9e2cf5f6c43c51555b477f7..bc788f8491e7d2c4e5aba42459469d34be31c4ba 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| @@ -117,7 +117,7 @@ public enum ResolverErrorCode implements ErrorCode {
|
| // TODO(zundel): error message needs JUnit test (reachable code?)
|
| EXPECTED_STATIC_FIELD("expected a static field, but got %s"),
|
| // TODO(zundel): error message needs JUnit test, (reachable code?)
|
| - EXTRA_TYPE_ARGUMENT("Type variables may not have type arguments"),
|
| + EXTRA_TYPE_ARGUMENT(ErrorSeverity.WARNING, "Type variables may not have type arguments"),
|
| FACTORY_CANNOT_BE_CONST("A factory cannot be const"),
|
| FIELD_DOES_NOT_HAVE_A_GETTER(ErrorSeverity.WARNING, "Field does not have a getter"),
|
| FIELD_DOES_NOT_HAVE_A_SETTER(ErrorSeverity.WARNING, "Field does not have a setter"),
|
|
|