Commit 19794aa
Fix bug regarding augmenting a field with a field after a non-field augment.
In the commit https://dart-review.googlesource.com/c/sdk/+/446702 these
tests were landed with several known flaws. One of these was the
processing of the chain: field -> augment getter -> augment field,
creating two fields.
This CL fixes the behavior such that augment field genuinely augments
the existing field instead of creating a new field. Test expectations
were correspondingly updated.
Change-Id: I6e3c822441a7fb5d2f94a673ed36d409ee5d03e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/448226
Reviewed-by: Konstantin Shcheglov <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent 33f6649 commit 19794aa
File tree
3 files changed
+110
-206
lines changed- pkg/analyzer
- lib/src
- dart/element
- summary2
- test/src/summary/elements
3 files changed
+110
-206
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2680 | 2680 | | |
2681 | 2681 | | |
2682 | 2682 | | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
2683 | 2694 | | |
2684 | 2695 | | |
2685 | 2696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
304 | 307 | | |
305 | 308 | | |
306 | 309 | | |
| |||
0 commit comments