Index: pkg/compiler/lib/src/inferrer/node_tracer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/node_tracer.dart b/pkg/compiler/lib/src/inferrer/node_tracer.dart |
index f3fdc407c644b5c2e71587e0ccf267ed6d74fbc4..e296e9f5f04fa67bc41173940ba086931b30ac57 100644 |
--- a/pkg/compiler/lib/src/inferrer/node_tracer.dart |
+++ b/pkg/compiler/lib/src/inferrer/node_tracer.dart |
@@ -157,6 +157,14 @@ abstract class TracerVisitor implements TypeInformationVisitor { |
bailout("Passed through await"); |
} |
+ void visitYieldTypeInformation(YieldTypeInformation info) { |
+ // TODO(29344): The enclosing sync*/async/async* method could have a |
+ // tracable TypeInformation for the Iterable / Future / Stream with an |
+ // element TypeInformation. Then YieldTypeInformation could connect the |
+ // source type information to the tracable element. |
+ bailout("Passed through yield"); |
+ } |
+ |
void visitNarrowTypeInformation(NarrowTypeInformation info) { |
addNewEscapeInformation(info); |
} |