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 0b79c37 commit 82582e6Copy full SHA for 82582e6
flang/lib/Semantics/symbol.cpp
@@ -453,6 +453,8 @@ bool Symbol::IsFuncResult() const {
453
const ArraySpec *Symbol::GetShape() const {
454
if (const auto *details{std::get_if<ObjectEntityDetails>(&details_)}) {
455
return &details->shape();
456
+ } else if (const auto *details{std::get_if<UseDetails>(&details_)}) {
457
+ return details->symbol().GetShape();
458
} else {
459
return nullptr;
460
}
0 commit comments