| 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 06a0a5941f07d743f807397b91d767af7f918a8f..a5a55f94dbf235a35fe393b5daf4e7af3cb5f371 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| @@ -85,19 +85,13 @@ public enum ResolverErrorCode implements ErrorCode {
|
| DID_YOU_MEAN_NEW("%1$s is a %2$s. Did you mean (new %1$s)?"),
|
| DUPLICATE_INITIALIZATION("Duplicate initialization of '%s'"),
|
| DUPLICATE_FUNCTION_EXPRESSION("Duplicate function expression '%s'"),
|
| - DUPLICATE_FUNCTION_EXPRESSION_WARNING(ErrorSeverity.WARNING,
|
| - "Function expression '%s' is hiding %s at %s"),
|
| DUPLICATE_LABEL_IN_SWITCH_STATEMENT("Duplicate label in switch statement"),
|
| DUPLICATE_LOCAL_VARIABLE_ERROR("Duplicate local variable '%s'"),
|
| - DUPLICATE_LOCAL_VARIABLE_WARNING(ErrorSeverity.WARNING,
|
| - "Local variable '%s' is hiding %s at %s"),
|
| DUPLICATE_MEMBER("Duplicate member '%s'"),
|
| DUPLICATE_NAMED_ARGUMENT("Duplicate named parameter argument"),
|
| DUPLICATE_PARAMETER("Duplicate parameter '%s'"),
|
| - DUPLICATE_PARAMETER_WARNING(ErrorSeverity.WARNING, "Parameter '%s' is hiding %s at %s"),
|
| DUPLICATE_TOP_LEVEL_DECLARATION("duplicate top-level declaration %s at %s"),
|
| DUPLICATE_TYPE_VARIABLE("Duplicate type variable '%s'"),
|
| - DUPLICATE_TYPE_VARIABLE_WARNING(ErrorSeverity.WARNING, "Type variable '%s' is hiding %s at %s"),
|
| // TODO(zundel): error message needs JUnit test, (reachable code?)
|
| EXPECTED_AN_INSTANCE_FIELD_IN_SUPER_CLASS(
|
| "expected an instance field in the super class, but got %s"),
|
|
|