Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Don't lose homonymous specific when copying generic
Defined generic procedure interfaces are allowed to shadow non-generic procedures of the same name in the same scope (whether or not that non-generic procedure is a specific procedure of the generic). When making a copy of a generic interface symbol so that it can be locally modified or be merged with another generic, don't forget about the homonymous non-generic procedure that it might shadow. Differential Revision: https://reviews.llvm.org/D131103
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 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