This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix regression from generic fix
ClosedPublic

Authored by klausler on Apr 22 2022, 10:33 AM.

Details

Summary

A recent change that corrected the name resolution of a generic interface
when the same name was visible in scope incorrectly prevented a local
generic from shadowing an outer name that is not a generic, subprogram,
or derived type -- e.g., a simple variable -- leading to an inappropriate
error message.

Diff Detail

Event Timeline

klausler created this revision.Apr 22 2022, 10:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2022, 10:33 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 22 2022, 10:33 AM
vdonaldson accepted this revision.Apr 22 2022, 11:03 AM
This revision is now accepted and ready to land.Apr 22 2022, 11:03 AM
This revision was automatically updated to reflect the committed changes.