Index: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
diff --git a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
index e8af9783dccabcb236a7a7f8aa2d0c2765e0eff2..e4725b2d9df52d7e3a7832a1d86b1c93cf7bb1db 100644 |
--- a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
+++ b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
@@ -816,6 +816,11 @@ abstract class InferrerVisitor |
return types.dynamicType; |
} |
+ @override |
+ void previsitDeferredAccess(Send node, PrefixElement prefix, _) { |
+ // Deferred access does not affect inference. |
+ } |
+ |
T handleTypeLiteralGet() { |
return types.typeType; |
} |