| 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 5a40c1e3b8a9c034788e97d3ab99da3f3a5d3b04..840a1a2050f2ad02fb6542178b3c2ba4822afe7c 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
| @@ -83,18 +83,18 @@ public enum ResolverErrorCode implements ErrorCode {
|
| 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"),
|
| + "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"),
|
| + "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_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"),
|
| + 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"),
|
|
|