6d5ca909a2
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>