Skip to content

[CP] dart2wasm async and sync* fixes to stable #55847

Closed
@osa1

Description

@osa1

Commit(s) to merge

6de879e, 7e237a1, eabb2b3, e44bc22, 350954a, 8ccb412, e7dde83, 3863e78, 829261e, fab56db

Target

stable

Prepared changelist for beta/stable

https://dart-review.googlesource.com/c/sdk/+/368300

Issue Description

Users are currently missing a lot of async and sync* bug fixes, and unable to use exception handling (try/catch) or switch statements (when the statement has a yield in the body).

What is the fix

Cherry pick the fixes and implementations.

Why cherry-pick

Users are missing bug fixes and some of the sync* features are simply unimplemented in the latest release.

Risk

Medium. While these changes include a lot of refactoring, no new features were added and a lot of bugs were fixed.

Issue link(s)

#55347, #55457, #51343, #51342 and probably more. (some of the fix commits didn't link to issues)

Extra Info

No response

Metadata

Metadata

Labels

area-dart2wasmIssues for the dart2wasm compiler.cherry-pick-approvedLabel for approved cherrypick requestcherry-pick-reviewIssue that need cherry pick triage to approve

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions