This is an archive of the discontinued LLVM Phabricator instance.

[flang] Correct handling of USE-associated generic override in nested scope
ClosedPublic

Authored by klausler on Mar 9 2023, 4:36 PM.

Details

Summary

As the new test here shows by failing with the current compiler with
a bogus error message about indistinguishable specific procedures in
a generic interface, name resolution needs to take care to not
copy a USE-associated generic into the current scope for extension
when the USE association is actually into an enclosing scope.

Diff Detail

Event Timeline

klausler created this revision.Mar 9 2023, 4:36 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Mar 9 2023, 4:36 PM
This revision is now accepted and ready to land.Mar 10 2023, 12:46 AM