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:

Description

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;
equation
    connect(ec1, ec2.ec[1]);
    connect(ec2, ec3);
end Test;

Change History (0)

Note: See TracTickets for help on using tickets.