eb1a814681
This makes the create fixes correctly suggest `Iterable`, `Future<Iterable>`, or `Future<Stream>` when the awaited expression is used in a for-in loop. It also takes into account the type of the loop variable for the type argument of `Iterable` or `Stream`. Fixes: https://github.com/dart-lang/sdk/issues/62092 Change-Id: I055af13ee12ceb141f5d75c340c607ae803d0b07 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/464782 Reviewed-by: Samuel Rawlins <srawlins@google.com> Auto-Submit: Felipe Morschel <git@fmorschel.dev> Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>