[flang] Fix bug resolving type in type definition
When we encountered a type name in a derived type definition, we were sometimes finding a component of that name rather than the type from the enclosing scope. Fix this by introducing `NonDerivedTypeScope()` to start the search in the right scope. Differential Revision: https://reviews.llvm.org/D81493
Loading
Please sign in to comment