| Index: compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
|
| index 714d759eec7a8d7162517976cba5172e2b7fe03c..bc1a1d9e2b6616ecddd007e21043df87eeb9a2a8 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
|
| @@ -19,7 +19,7 @@ public enum TypeErrorCode implements ErrorCode {
|
| CANNOT_OVERRIDE_METHOD_NOT_SUBTYPE("cannot override %s of %s because %s is not a subtype of %s"),
|
| CYCLIC_REFERENCE_TO_TYPE_VARIABLE(
|
| "Invalid type expression, cyclic reference to type variable '%s'"),
|
| - DEPRECATED_ELEMENT("'%s' is deprecated"),
|
| + DEPRECATED_ELEMENT(ErrorSeverity.INFO, "%s is deprecated"),
|
| DEFAULT_CONSTRUCTOR_TYPES(
|
| "Constructor '%s' in '%s' has parameters types (%s), doesn't match '%s' in '%s' with (%s)"),
|
| DUPLICATE_NAMED_ARGUMENT("Named parameter argument already provided as positional argument"),
|
|
|