-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support generating a single import for overloaded MemberNames (#1909)
* Support generating a single import for overloaded MemberNames MemberName imports were modeled after TypeName imports, where an import can only represent a single fully-qualified name. However with MemberNames, a single import can represent multiple overloaded members that share a fully-qualified name. While overloaded members can be represented with a single MemberName, we distinguish between extension and non-extension members, and their MemberNames are not equal. We'll currently try to generate import aliases in this case, which is incorrect, and actually impossible, since they have the exact same fully-qualified name (see #1907). This change handles this scenario and adds support for having a single import generated for multiple MemberNames. * Update changelog
- Loading branch information
Showing
3 changed files
with
56 additions
and
23 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