[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:
peter klausler 2019-10-25 09:01:27 -07:00
parent 715f2c0d86
commit 7c44a2011b
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}