#3010 closed defect (wontfix)
Dependency analysis removes import without warning
Reported by: | Martin Sjölund | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | never |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
Dependency analysis removes import without warning, for example for the following:
model N end N; model M import N; import N; N n; end M;
Change History (3)
comment:1 by , 10 years ago
Component: | Unknown → Frontend |
---|
comment:2 by , 4 years ago
Milestone: | Future → never |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:3 by , 4 years ago
I think the issue for the OF is that there are duplicates of N, and they were silently removed which hides the error.
Note:
See TracTickets
for help on using tickets.
That's by design, the dependency analysis fully qualified imported names and removes the imports to work around issues in the old frontend. It doesn't do that when
-d=newInst
is used (which only affectssaveTotalModel
since the dependency analysis is not used by the new frontend).