Opened 7 years ago

Closed 7 years ago

#2358 closed defect (fixed)

Modifiers on records using parameters

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone: 1.9.x
Component: Modelica/MiddleEnd Version: trunk
Keywords: Cc:

Description (last modified by Jesper Mattsson)

The following model crashes the compiler:

model RecordScalarize21
        record A
                Real x[2];
                Real y;
        end A;
        parameter Real y_start = 3;
        A a(y(start=y_start));
        a = A({1,2}, 4);
end RecordScalarize21;

Change History (2)

comment:1 Changed 7 years ago by Jesper Mattsson

Description: modified (diff)

comment:2 Changed 7 years ago by Jesper Mattsson

Resolution: fixed
Status: newclosed


Fixed handling of modifiers on record members using parameters.

Note: See TracTickets for help on using tickets.