Opened 11 years ago
Closed 11 years ago
#2359 closed defect (fixed)
Dependency analysis is a bit wrong in some cases
Reported by: | Adrian Pop | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Per Östlund |
Description
When we have things like:
package M replaceable package Medium = RefAirPartial; constant Real u = Medium.AirUtilities.Basic.Utilities.f(10); end M; model Blah package B = M(redeclare package Medium = RefAir); Real x = B.u; end Blah;
Then dependency thinks nothing from RefAir
is used so it gives an empty class.
Attachments (2)
Change History (5)
by , 11 years ago
by , 11 years ago
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 11 years ago
Cc: | added |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Fixed in r17306. There are still some issues left, i.e. if you use the same pattern with a component, but that I can fix later.
Note:
See TracTickets
for help on using tickets.
I think I have a fix for this, running testsuite now.