Opened 10 years ago

Last modified 10 years ago

#3380 closed defect

Save bug with replaceable — at Initial Version

Reported by: Arno_Epsilon <acolleoni@…> Owned by: Adeel Asghar
Priority: blocker Milestone: 1.9.3
Component: OMEdit Version: trunk
Keywords: Replaceable, Package Cc:

Description

I created a model with a replaceable function inside.
When i try to save this model (included in a package with multiple files saving option), the .mo created delete the line "replaceable function ..." in the model.

Here is an example, to be placed in a package with multiple file saving option:

package Test

function Functiona

output Real y;

algorithm

y := 1;

end Functiona;

model Testa

replaceable function func = Functiona;
Real y;

equation

y = Functiona();

end Testa;

end Test;

Change History (0)

Note: See TracTickets for help on using tickets.