1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 08:19:13 +00:00
dart-sdk/sdk
Ömer Sinan Ağacan fbbb836a02 [stable] Fix various dart2wasm async and sync* bugs and missing feats
This cherry-picks commits:

6de879e0f5 - [dart2wasm] Fix exception handling in async functions
7e237a12aa - [dart2wasm] Small refactoring in async code generator
eabb2b3aca - [dart2wasm] Catch JS exceptions in async functions
e44bc22ca3 - [dart2wasm] Fix bug in restoration of `this` in async functions.
350954ae9d - [dart2wasm] Fix `this` restoration code in sync* handling.
8ccb41284a - [dart2wasm] Move type parameter bounds checks & parameter type check logic together with logic setting up variables
e7dde8377e - [dart2wasm] Port VM fix for #52083 (sync*)
3863e78e80 - [dart2wasm] Move yield finder to a shared library
829261e2ba - [dart2wasm] Move async compiler utilities to state_machine library
fab56db71b - [dart2wasm] Move common code generation routines to state_machine, fix sync*

Bugs: #55347, #55457, #51343, #51342
Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/368300
Cherry-pick-request: https://github.com/dart-lang/sdk/issues/55847
Change-Id: I0a4186533fbdf4c5727911295ad48696a90f715f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368300
Commit-Queue: Ömer Ağacan <omersa@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2024-05-29 08:01:49 +00:00
..
bin [dart2wasm] Remove sdk/bin/dart2wasm{,_developer} scripts 2024-01-19 16:05:27 +00:00
lib [stable] Fix various dart2wasm async and sync* bugs and missing feats 2024-05-29 08:01:49 +00:00
.gitignore [sdk] Generate a version file for the unpatched SDK 2022-05-05 10:36:05 +00:00
api_readme.md [docs/api] Minor adjustments and fixes to api.dart.dev homepage 2024-02-01 21:41:38 +00:00
BUILD.gn add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00