948e52a768
Property-inducing augmentations were linked to the existing field or top-level variable element before creating the getter and setter fragments that the augmentation itself induces. This left augmentation fragments without their corresponding accessor fragments. Create induced getter and setter fragments for every field and top-level variable fragment, including augmentations. When an accessor element already exists, append the new fragment to it; otherwise, create the accessor element independently so that augmenting getter-only and setter-only properties works correctly. Track the relationship at the fragment level in both directions, from each property-inducing fragment to its induced accessors and from each accessor fragment back to its inducing variable. Serialize these links in summaries, expose them through the analyzer element API, and bump the summary data version for the format change. Change-Id: Iede43515564326182d8195bd872abf83345bbd72 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/504040 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>