mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 14:27:18 +00:00
c486a07b02
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> |
||
---|---|---|
.. | ||
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 | ||
nested_subtype_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 |