Skip to content

Commit 1d61709

Browse files
committed
[flang] fix warning after #82042
1 parent 9f99eda commit 1d61709

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/lib/Lower/HostAssociations.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ class CapturedArrays : public CapturedSymbols<CapturedArrays> {
376376
const Fortran::semantics::Symbol &sym) {
377377
mlir::Type type = converter.genType(sym);
378378
bool isPolymorphic = Fortran::semantics::IsPolymorphic(sym);
379-
assert(type.isa<fir::SequenceType>() ||
380-
(isPolymorphic && type.isa<fir::ClassType>()) &&
381-
"must be a sequence type");
379+
assert((type.isa<fir::SequenceType>() ||
380+
(isPolymorphic && type.isa<fir::ClassType>())) &&
381+
"must be a sequence type");
382382
if (isPolymorphic)
383383
return type;
384384
return fir::BoxType::get(type);

0 commit comments

Comments
 (0)