Commit 28be3ea
[analyzer] Uniformly use dispatchCollectionElement.
Modifies the resolver so that all recursive visits of collection
elements go through `ResolverVisitor.dispatchCollectionElement`. This
prepares for a follow-up CL in which I will be adding debugging checks
to `ResolverVisitor.dispatchCollectionElement` to help ensure that the
proper offsets are propagated to the flow analysis log.
Part of #63816.
Change-Id: I6068d0dde7368ce486ba60bdeaa8fecb6a6a6964
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/532120
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>1 parent c5e71fd commit 28be3ea
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
671 | 673 | | |
672 | 674 | | |
673 | 675 | | |
| |||
0 commit comments