We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b99163f commit 0bd861aCopy full SHA for 0bd861a
flang/lib/Semantics/resolve-names.cpp
@@ -5648,7 +5648,9 @@ void DeclarationVisitor::Post(const parser::ProcDecl &x) {
5648
const auto &name{std::get<parser::Name>(x.t)};
5649
const Symbol *procInterface{nullptr};
5650
if (interfaceName_) {
5651
- procInterface = interfaceName_->symbol;
+ procInterface = interfaceName_->symbol->has<GenericDetails>()
5652
+ ? interfaceName_->symbol->get<GenericDetails>().specific()
5653
+ : interfaceName_->symbol;
5654
}
5655
auto attrs{HandleSaveName(name.source, GetAttrs())};
5656
DerivedTypeDetails *dtDetails{nullptr};
0 commit comments