-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support augmentation-declared constructors and methods.
The gist of this is to not just ask an Element for it's methods and for its constructors, but make sure to ask the augmented element, if there is one. A few fixes are made additionally: * While working on this, I saw that a crash would mean that the AnalysisContextCollectionImpl was never `disposed`. So I tidied that all back into PackageBuilder. It can not be the PackageBuilder's caller's responsibility to dispose, because that amounts to have a dozen places in tests. * In the code that gathers inheritance info, we also need to make sure to grab an element's augmented declaration, if there is one.
- Loading branch information
Showing
3 changed files
with
25 additions
and
16 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