Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Augment. Store 'augmentationTargetAny', check type in 'augmentationTa…
…rget'. So, we can distinguish "no target" from "invalid target". If we augment a setter, and there is no target, we also probe getters (and methods, constructors). Which theoretically is not the same as augmenting e.g. a class with a mixin - they live in different names. Not sure. Maybe don't look for `name` when `name=`? The difference is that we will report "No augmentation target" vs "It is wrong when a setter augments a method". Change-Id: Ibee84b2d039cf16824cb367fefdcda72b99f54bf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/364603 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com>
- Loading branch information
Showing
10 changed files
with
1,104 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.