Opened 16 years ago
Closed 12 years ago
#1065 closed defect (fixed)
Modifiers are not completely implemented (from MathCore)
Reported by: | krsta | Owned by: | krsta |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Backend | Version: | |
Keywords: | Cc: | krsta |
Description
Not all modifiers included in the soecificication are implemented yet. Most of these rules are covered by the following test cases:
DisturbedResistance3.mo DisturbedResistance4.mo ModificationXX.mo ModifyConstantX.mo ModifyUnknownX.mo OverWritingX.mo
We have to go through these test cases and implement needed support as well as checking as this corresponds to the Modelica spec.
Change History (3)
comment:1 by , 15 years ago
comment:2 by , 14 years ago
Modelica specification (section 7.4.2) forbids duplicate modifications of the same element. OMC does the checking for duplicate modification, but only produces a warning, not an error, and only in the case of overlapping index modifications, like
A a(z=zeros(2), z[1]=1);
In the case of usual duplicate modifications, like
A a(x=1, x=2)
it does not even produce a warning.
Should it be fixed or is it another case of "specification forbids this, but we have to have it, so only a warning instead of an error"?
comment:3 by , 12 years ago
Cc: | krsta, → krsta |
---|---|
Component: | → Backend |
Resolution: | → fixed |
Status: | new → closed |
All of the tests mentioned are working, so I think it's time to close this old ticket.
http://intranet/trac/mathmodelica/ticket/1209