f1043ad932
This change ensures that when a variable `x` is written to or captured, promotions of its fields (e.g. `x.y`, `x.y.z`, etc.) are cancelled. This is necessary for soundness of field promotion. There is no effect on production code, since field promotion is not yet enabled. Bug: https://github.com/dart-lang/language/issues/2020 Change-Id: Ic0739ca80cc2afe6188ada6209cb558d8cea9b63 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/254620 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>