Files
sdk/tests/language/inference_update_4
Kallen Tu 6d5ca909a2 [flow][tests] Language tests for issue 1721 - allow better promotions for final vars.
Tests for the issue https://github.com/dart-lang/language/issues/1721.

Promotions should happen for final variables because they are assigned and won't be re-assigned by the time they're evaluated. In a conservative join, promotions should not be cancelled for final variables.

Bug: https://github.com/dart-lang/language/issues/1721
Change-Id: Ibf29f42052a054424f7cef1075d1f67203f62c06
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390340
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2024-10-16 17:54:39 +00:00
..