Breaking change 63334: cancel inner type promotions on await and yield

104 views
Skip to first unread message

Paul Berry

unread,
May 6, 2026, 2:19:47 PMMay 6
to anno...@dartlang.org
Issue 63334 proposes fixing a bug in control flow analysis that can lead to unsound analysis of nested functions involving a combination of type promotion with `await` or `yield`. In very rare cases, the fix will be more conservative than necessary, requiring users to add some extra type promotions.

If you have any thoughts or concerns, please leave your feedback on the GitHub issue: https://github.com/dart-lang/sdk/issues/63334.

Paul Berry

unread,
Jun 24, 2026, 4:07:09 PM (10 days ago) Jun 24
to anno...@dartlang.org
This change has been implemented as of https://github.com/dart-lang/sdk/commit/a41aa1847c2554a0f6d3a139db34315ae838107a, and should be released as part of Dart 3.13.
Reply all
Reply to author
Forward
0 new messages