This is an archive of the discontinued LLVM Phabricator instance.

[flang] Local generics must not shadow host-associated generics
ClosedPublic

Authored by klausler on Apr 13 2022, 12:57 PM.

Details

Summary

It is possible for generic interfaces of equivalent (but not necessarily
identical -- operator(.eq.) is equivalent to operator(==)) names to
be declared in a host scope and a nested scope, and the nested declaration
should function as an extension of the host's.

Diff Detail

Event Timeline

klausler created this revision.Apr 13 2022, 12:57 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 13 2022, 12:57 PM
jeanPerier accepted this revision.Apr 14 2022, 5:33 AM

Looks great

This revision is now accepted and ready to land.Apr 14 2022, 5:33 AM