Opened 7 years ago

#4648 new enhancement

Add support for annotation for turning off replaceable check

Reported by: perost Owned by: perost
Priority: normal Milestone: Future
Component: New Instantiation Version: v1.13.0-dev-nightly
Keywords: Cc:

Description

#4646 was solved by introducing the --ignoreReplaceable flag for turning off the check that an element is replaceable before redeclaring it. Using this flag can mask actual mistakes by the user, so it would be good to have a more finegrained solution that allows the check to be turned off for an individual modifier. For example:

model M
  A a(redeclare model B = C annotation(__OpenModelica_IgnoreReplaceable));
end M;

Change History (0)

Note: See TracTickets for help on using tickets.