[dart-announce] Breaking change 56893: Account for field promotion to Null when computing reachability based on equality tests

20 views
Skip to first unread message

'Paul Berry' via Dart Announcements

unread,
Oct 14, 2024, 8:58:25 AMOct 14
Issue 56893 proposes to fix a bug in reachability analysis for fields promoted to type `Null`. This is not expected to have any impact on real-world code, but theoretically it could result in new compile errors. In the highly unlikely event that any code is affected, it can be fixed by adding explicit type annotations.

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

--
For more ways to connect visit https://dart.dev/community

'Paul Berry' via Dart Announcements

unread,
Oct 23, 2024, 11:29:16 AMOct 23
This change has been implemented, and will roll out in Dart 3.7.
Reply all
Reply to author
Forward
0 new messages