[flang-commits] [flang] [flang][Semantics] Resolve private PDT binding overrides (PR #218832)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Fri Aug 28 06:30:19 PDT 2026
================
@@ -2715,7 +2715,7 @@ auto ExpressionAnalyzer::AnalyzeProcedureComponentRef(
latest{DEREF(dyType->GetDerivedTypeSpec().typeSymbol().scope())
.FindComponent(sym->name())}) {
if (sym->attrs().test(semantics::Attr::PRIVATE)) {
- const auto *bindingModule{FindModuleContaining(generic.owner())};
+ const auto *bindingModule{FindModuleContaining(sym->owner())};
----------------
eugeneepshteyn wrote:
Somehow I suspected you will have more comments here, Jean! ;-)
I will investigate this more thoroughly as part of separate fix.
https://github.com/llvm/llvm-project/pull/218832
More information about the flang-commits
mailing list