[flang] Don't resolve names in derived type definitions to generics
There's code in name resolution that handles resolution of references that appear in the definitions of derived types -- it checks for existing components in the type being defined, as well as for non-parent components in its ancestors. Special case code prevents resolution of a name to the symbol of a procedure binding. This code needs to be extended so that names of generic procedures are similarly prevented from shadowing symbols in the scope around the type. Differential Revision: https://reviews.llvm.org/D134398
Loading
Please sign in to comment