Opened 3 years ago

Closed 3 years ago

#5304 closed defect (fixed)

Known parameter variability in record declarations

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone: 2.0.x
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

In the following model the n parameter in the record declaration should not be considered known.

    record R
        parameter Integer n = 1 annotation(Evaluate=true);
        Real[n] x = 1:n;
    end R;
    
    R r1 = R(n=2);
    R r2 = r1;

Change History (3)

comment:1 Changed 3 years ago by Jonathan Kämpe

changeset:9669

Fixed record declaration flattening bug

Last edited 3 years ago by Jonathan Kämpe (previous) (diff)

comment:2 Changed 3 years ago by Jonathan Kämpe

changeset:9271

Merging bug fixes and refactorizations to release branch r9651 r9653 r9654 r9658 r9659 r9660 r9662 r9664 r9665 r9670 r9666 r9667 r9669

comment:3 Changed 3 years ago by Jonathan Kämpe

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.