Opened 12 years ago

Closed 12 years ago

Last modified 7 years ago

#1989 closed defect (fixed)

Fix propagation of modifiers in new instantiation

Reported by: Per Östlund Owned by: Per Östlund
Priority: high Milestone: 1.9.4
Component: New Instantiation Version: trunk
Keywords: Cc:

Description

The propagation of modifications in the new instantiation doesn't work in cases like this:

model A
  Real x;
end A;

model B
  extends A;
  Real x;
end B;

model C
  extends B(x = 5);
end C;

The propagation of modifications to elements is also very inefficient, and should be rewritten to use e.g. a hashtable or something.

Change History (3)

comment:1 by Per Östlund, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r14429.

comment:2 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:3 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.