This is an archive of the discontinued LLVM Phabricator instance.

[flang] Clarify edge case of host association and generic interfaces
ClosedPublic

Authored by klausler on Oct 4 2022, 3:05 PM.

Details

Summary

Name resolution was mishandling cases of generic interfaces and specific procedures
(sometimes complicatd by use of the same name for each) when the specific procedure
was accessed by means of host association; only the scope of the generic interface
definition was searched for the specific procedure. Also search enclosing scopes
in the usual way.

Diff Detail

Event Timeline

klausler created this revision.Oct 4 2022, 3:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2022, 3:05 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 4 2022, 3:05 PM
jeanPerier accepted this revision.Oct 5 2022, 2:19 AM
This revision is now accepted and ready to land.Oct 5 2022, 2:19 AM
klausler updated this revision to Diff 465614.Oct 5 2022, 5:22 PM

Address failure found in testing.