[flang-commits] [PATCH] D123719: [flang] Local generics must not shadow host-associated generics

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Apr 13 12:57:43 PDT 2022


klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D123719

Files:
  flang/lib/Semantics/resolve-names.cpp
  flang/test/Semantics/resolve110.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123719.422618.patch
Type: text/x-patch
Size: 4937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220413/b663b736/attachment.bin>


More information about the flang-commits mailing list