forked from OSchip/llvm-project
[flang] Restore a review comment response
Original-commit: flang-compiler/f18@d9673df31c Reviewed-on: https://github.com/flang-compiler/f18/pull/792
This commit is contained in:
parent
715f2c0d86
commit
7c44a2011b
|
@ -99,8 +99,7 @@ void CheckHelper::Check(Symbol &symbol) {
|
|||
(object->isFuncResult() &&
|
||||
type->category() == DeclTypeSpec::Character);
|
||||
} else {
|
||||
canHaveAssumedParameter |=
|
||||
symbol.has<AssocEntityDetails>() || symbol.has<DerivedTypeDetails>();
|
||||
canHaveAssumedParameter |= symbol.has<AssocEntityDetails>();
|
||||
}
|
||||
Check(*type, canHaveAssumedParameter);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue