47d550277d
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. Language tests made in https://dart-review.googlesource.com/c/sdk/+/390340. Bug: https://github.com/dart-lang/language/issues/1721 Change-Id: I7bb577a694ddb5572a28884de70bd8c5b68e3c25 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390803 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Kallen Tu <kallentu@google.com>
2 lines
39 B
Plaintext
2 lines
39 B
Plaintext
--enable-experiment=inference-update-4
|