210275c1fe
The lowering previously used a PromotedCachableExpression, therefore missing the needed check on assignment. Closes #51432 Change-Id: I9e671326df25add9a8abea03d1e52b1be5740adc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/289901 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>