Opened 8 months ago

Last modified 8 months ago

#5745 new defect

Incorrect size for record array member when redeclaring imported record

Reported by: Zimon Kuhs Owned by: Jesper Mattsson
Priority: minor Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: redeclare record extends lookup Cc:


Size is calculated incorrectly for a record array member, where the record declaration is a redeclare of an imported record. It seems to be a fringe case raising a NullPointerException when the extends of the import is not considered.

Change History (2)

comment:1 Changed 8 months ago by Zimon Kuhs


Changed name lookup of InstExtends to perform a generic lookup if it fails for class declarations and extends.

comment:2 Changed 8 months ago by Zimon Kuhs


Catchup merge from trunk.

Note: See TracTickets for help on using tickets.