Index: lib/src/checker/rules.dart |
diff --git a/lib/src/checker/rules.dart b/lib/src/checker/rules.dart |
index 033c5597e418fb3effa969e7062245b2f3d50836..090831d499ef5e172a67175200941e91f437a832 100644 |
--- a/lib/src/checker/rules.dart |
+++ b/lib/src/checker/rules.dart |
@@ -534,7 +534,6 @@ class DownwardsInference { |
if (e is ParenthesizedExpression) { |
return _inferParenthesizedExpression(e, t, errors); |
} |
- if (e is Conversion) return _inferExpression(e.node, t, errors); |
if (rules.isSubTypeOf(rules.getStaticType(e), t)) return true; |
if (cast && rules.getStaticType(e).isDynamic) { |
annotateCastFromDynamic(e, t); |