Opened 15 months ago

#5652 new defect

Arrays of expandable connectors

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:


Arrays of expandable connectors are not handled correctly. Specifically, InstExpandableConnectorDecl.getInstComponentDeclList() does not differentiate between being scalar or array. This affects both declared and added expandable connectors. There are most likely other problems as well.

Example that causes NullPointerException:

model Test
    expandable connector EC
    end EC;
    EC ec1, ec2, ec3;
    connect(ec2, ec3);
end Test;

Change History (0)

Note: See TracTickets for help on using tickets.