mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 14:32:24 +00:00
bfd71ad330
DDC passes, dart2js and VM fail. ---- The dart2js and VM fringe-following scheme could be modified to call `.iterator` at the `yield*` site and use the Iterator instead of the Iterable. Calling `.iterator` at the `yield*` site would move the exception to the right place. It might also present an optimization opportunity where the call might be inlined, or the entry into the fringe-following algorithm could be made more efficient based on the type of the iterator. Change-Id: Icfb6f7ca0b92cbeea1349ce138e469cfa707f571 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/295200 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Lasse Nielsen <lrn@google.com> |
||
---|---|---|
.. | ||
covariant_type_test.dart | ||
dcall_type_test.dart | ||
generator1_runtime_test.dart | ||
generator1_test.dart | ||
generator2_test.dart | ||
generator3_test.dart | ||
less_than_test.dart | ||
move_past_end_test.dart | ||
nested_subtype_test.dart | ||
sync_star_exception_current_test.dart | ||
sync_star_exception_iterator_test.dart | ||
sync_star_exception_nested_test.dart | ||
sync_star_exception_test.dart | ||
void_sync_star_test.dart | ||
yield_star_pause_test.dart | ||
yield_test.dart | ||
yieldstar_test.dart |