commit | 23dca43f2f236bc7f51bdacafd5afd72e840ceb2 | [log] [tgz] |
---|---|---|
author | Paul Berry <paulberry@google.com> | Sat Oct 12 03:11:03 2019 +0000 |
committer | dart-luci-ci-builder <dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com> | Fri Oct 11 20:26:59 2019 -0700 |
tree | d24829158fb003bdd2b36025789f84a5c8f6d244 | |
parent | 199e57343ed685a492c9759df093a36953a98c9b [diff] |
Migration: add isCompound parameter to FixBuilder.visitAssignmentTarget. When visiting an assignment target that is an index expression (`x[y]`) we'll need to know whether we are doing a compound assignment or not, because this will influence whether the type context for the index expression (`y`) should come from `operator[]` or `operator[]=`. So before adding index expression support to FixBuilder, let's add an `isCompound` boolean to indicate whether the assignment context is a compound assignment or not. Change-Id: I26a41544e10ef9c9ba042c1d7862563bd9d18b68 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121407 Reviewed-by: Mike Fairhurst <mfairhurst@google.com> https://dart.googlesource.com/sdk/+/5594981c2a03a8f5587f488ee5245d6038d21a7a