Commit cfba919
[analyzer] Dot Shorthands: Change DotShorthandPropertyAccess Token to SimpleIdentifier.
This CL changes `propertyName` to be a `SimpleIdentifier` instead of `Token` because we need to resolve and store the resolved element in the `SimpleIdentifier`.
Note that the corresponding class `PropertyAccess` represents its
`propertyName` as a `SimpleIdentifier` for the same reason.
Bug: #59835
Change-Id: I934f66f914b061b8593399c79a0f7b590b84cc12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419584
Reviewed-by: Brian Wilkerson <[email protected]>
Commit-Queue: Kallen Tu <[email protected]>
Reviewed-by: Paul Berry <[email protected]>1 parent 6253555 commit cfba919
File tree
4 files changed
+27
-12
lines changed- pkg/analyzer
- lib/src/dart/ast
4 files changed
+27
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
743 | | - | |
| 743 | + | |
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5479 | 5479 | | |
5480 | 5480 | | |
5481 | 5481 | | |
5482 | | - | |
| 5482 | + | |
5483 | 5483 | | |
5484 | 5484 | | |
5485 | 5485 | | |
5486 | 5486 | | |
5487 | 5487 | | |
5488 | 5488 | | |
5489 | 5489 | | |
5490 | | - | |
5491 | | - | |
| 5490 | + | |
5492 | 5491 | | |
5493 | 5492 | | |
5494 | 5493 | | |
5495 | 5494 | | |
5496 | | - | |
5497 | | - | |
| 5495 | + | |
| 5496 | + | |
| 5497 | + | |
| 5498 | + | |
5498 | 5499 | | |
5499 | 5500 | | |
5500 | 5501 | | |
5501 | 5502 | | |
5502 | 5503 | | |
5503 | | - | |
| 5504 | + | |
5504 | 5505 | | |
5505 | 5506 | | |
5506 | 5507 | | |
5507 | 5508 | | |
| 5509 | + | |
| 5510 | + | |
| 5511 | + | |
| 5512 | + | |
| 5513 | + | |
| 5514 | + | |
| 5515 | + | |
5508 | 5516 | | |
5509 | 5517 | | |
5510 | 5518 | | |
5511 | | - | |
| 5519 | + | |
5512 | 5520 | | |
5513 | 5521 | | |
5514 | 5522 | | |
| |||
5520 | 5528 | | |
5521 | 5529 | | |
5522 | 5530 | | |
5523 | | - | |
| 5531 | + | |
| 5532 | + | |
| 5533 | + | |
5524 | 5534 | | |
5525 | 5535 | | |
5526 | 5536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
729 | | - | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
730 | 735 | | |
731 | 736 | | |
732 | 737 | | |
| |||
0 commit comments