Index: lib/src/info.dart |
diff --git a/lib/src/info.dart b/lib/src/info.dart |
index 8093026b665cd39a27dcfa3032431017d71d1d1a..d1a079d223c643b4948b925f2102852b5fb03ce3 100644 |
--- a/lib/src/info.dart |
+++ b/lib/src/info.dart |
@@ -332,7 +332,7 @@ class DownCastImplicit extends DownCast { |
DownCastImplicit(TypeRules rules, Expression expression, Cast cast) |
: super._internal(rules, expression, cast); |
- toErrorCode() => new StaticTypeWarningCode(name, message); |
+ toErrorCode() => new HintCode(name, message); |
} |
// An inferred type for the wrapped expression, which may need to be |