Back to all issues

Issue 5219

Bug: "bug: can't flatten" for some models containing Selector blocks


SubmittedProductStatus
2023-06-01Reactis for SimulinkResolved in 2022.2.2 (released Jun 30, 2023; release notes)
Resolved in 2022.0.4 (released Jun 30, 2023; release notes)
Open in 2021.2.3

When using a harness of a subsystem in Reactis, some models containing nested arrays of buses and Selector blocks selecting from those buses may produce the following bug message:

bug: interfaces/mdl/mdl-mwi-utils.sml, mkMwiFlatExpr: can't flatten:{uint8, uint8}[virtual] (testbus)[5]