dart-sdk/tests/language/sync_star
Stephen Adams bfd71ad330 Test for yield* of Iterable with throwing get:iterator
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>
2023-04-14 22:04:28 +00:00
..
covariant_type_test.dart
dcall_type_test.dart
generator1_runtime_test.dart
generator1_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
generator2_test.dart Spelling tests language 2022-12-19 16:30:06 +00:00
generator3_test.dart
less_than_test.dart
move_past_end_test.dart Add test for moving past end of sync* iterator 2023-04-11 18:58:42 +00:00
nested_subtype_test.dart [VM] Fixes nested sync* w. diff. types. 2020-09-03 11:48:44 +00:00
sync_star_exception_current_test.dart Add test for yield* of iterator with throwing get:current 2023-04-13 17:34:58 +00:00
sync_star_exception_iterator_test.dart Test for yield* of Iterable with throwing get:iterator 2023-04-14 22:04:28 +00:00
sync_star_exception_nested_test.dart [VM] Fixes yield* exception handling in sync*. 2020-10-27 06:46:27 +00:00
sync_star_exception_test.dart [VM] Fixes yield* exception handling in sync*. 2020-10-27 06:46:27 +00:00
void_sync_star_test.dart
yield_star_pause_test.dart
yield_test.dart
yieldstar_test.dart