This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix bug resolving type in type definition
AbandonedPublic

Authored by tskeith on Jun 9 2020, 11:23 AM.

Details

Summary

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.

Diff Detail

Event Timeline

tskeith created this revision.Jun 9 2020, 11:23 AM
Herald added a project: Restricted Project. · View Herald Transcript
tskeith abandoned this revision.Jun 9 2020, 11:30 AM

I only see a test in this revision. Are there also supposed to be code changes?