Opened 12 years ago
Closed 7 years ago
#1805 closed defect (fixed)
Multi-level redeclare
Reported by: | Owned by: | Per Östlund | |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Hi,
The behavior of OM is not the one user could expect on the following case.
MyModel1 and MyModel2 results seem correct.
But MyModel3 still gives 1.0 as result while, to me, it should give 2.0.
Best regards,
Hubert
Attachments (6)
Change History (13)
by , 12 years ago
by , 12 years ago
by , 12 years ago
comment:1 by , 12 years ago
by , 12 years ago
by , 12 years ago
by , 12 years ago
comment:2 by , 12 years ago
Test2 is probably a better illustration since in that case, Model3 building fails (I removed default package version in component).
See log2.txt.
comment:3 by , 12 years ago
Component: | Backend → Frontend |
---|---|
Milestone: | 1.9.0 → Future |
Redeclare is the target of the new instantiation. I will not be fixed in 1.9.0.
comment:4 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 12 years ago
Component: | Frontend → New Instantiation |
---|
comment:6 by , 7 years ago
Milestone: | Future → 2.0.0 |
---|
comment:7 by , 7 years ago
Milestone: | 2.0.0 → 1.13.0 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
With today's nightly build, the result is correct with both old and new front end.
Note:
See TracTickets
for help on using tickets.
partial package MyPartialMedium
end MyPartialMedium;
package MyMedium1
end MyMedium1;
package MyMedium2
end MyMedium2;
model MyComponent
equation
end MyComponent;
model MyModel1
equation
end MyModel1;
model MyModel2
equation
end MyModel2;
model MyModel3
equation
end MyModel3;