Opened 16 years ago
Closed 9 years ago
#1072 closed defect (fixed)
Detect modifiers on components declared as outer. (from MathCore)
Reported by: | krsta | Owned by: | krsta |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Backend | Version: | |
Keywords: | Cc: | krsta |
Description
OpenModelica allows modifiers on components declared as outer. OpenModelica should detect it when checking the model and building as it is not allowed according to the Modelica specification.
model A outer parameter Real x = 2; // Should not be allowed! end A; model main inner parameter Real x; A a1; end main;
Change History (2)
comment:1 Changed 15 years ago by brugard
comment:2 Changed 9 years ago by perost
- Cc changed from krsta, to krsta
- Component set to Backend
- Resolution set to fixed
- Status changed from new to closed
We detect this now, although we give a warning instead of an error (probably because Dymola allows it).
http://intranet/trac/mathmodelica/ticket/1428