Skip to content

Commit 4ab1863

Browse files
Added missing 'return'
1 parent 8051a1b commit 4ab1863

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/lib/Semantics/resolve-names.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7283,6 +7283,7 @@ bool DeclarationVisitor::PassesLocalityChecks(
72837283
SayWithDecl(name, symbol,
72847284
"Derived type variable '%s' with ultimate ALLOCATABLE component not allowed in a %s locality-spec"_err_en_US,
72857285
specName);
7286+
return false;
72867287
}
72877288
}
72887289
}

0 commit comments

Comments
 (0)