We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f99eda commit 1d61709Copy full SHA for 1d61709
flang/lib/Lower/HostAssociations.cpp
@@ -376,9 +376,9 @@ class CapturedArrays : public CapturedSymbols<CapturedArrays> {
376
const Fortran::semantics::Symbol &sym) {
377
mlir::Type type = converter.genType(sym);
378
bool isPolymorphic = Fortran::semantics::IsPolymorphic(sym);
379
- assert(type.isa<fir::SequenceType>() ||
380
- (isPolymorphic && type.isa<fir::ClassType>()) &&
381
- "must be a sequence type");
+ assert((type.isa<fir::SequenceType>() ||
+ (isPolymorphic && type.isa<fir::ClassType>())) &&
+ "must be a sequence type");
382
if (isPolymorphic)
383
return type;
384
return fir::BoxType::get(type);
0 commit comments