dart-sdk/tests/language/sync_star
Clement Skau c486a07b02 [VM] Fixes yield* exception handling in sync*.
This adds a mechanism similar to that used in async functions where
exceptions are caught in the synthetic code and passed into the
generated body to be rethrow'n.
This ensures the exception is throw'n from the same place as the
original yield*, as per the spec.

Bug: https://github.com/dart-lang/sdk/issues/42466
Change-Id: I054b9db568a49b046b6bb49f3e775bf093f83950
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160221
Commit-Queue: Clement Skau <cskau@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2020-10-27 06:46:27 +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
generator3_test.dart
less_than_test.dart
nested_subtype_test.dart [VM] Fixes nested sync* w. diff. types. 2020-09-03 11:48:44 +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