Opened 13 years ago
Closed 13 years ago
#1988 closed defect (fixed)
Inner class definition is removed by dependency analysis
| Reported by: | Adrian Pop | Owned by: | Adrian Pop |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.0 |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: | Per Östlund |
Description
See this model:
within ;
package Bug
partial block Interface
input Real x;
output Real y;
end Interface;
block Impl
extends Interface;
equation
y = 2*x;
end Impl;
model A
outer block R = Interface;
R r(x = 1);
Real y = r.y;
end A;
model B
inner block R = Impl;
A a;
Real xa(start = 1);
equation
der(xa) = a.y;
end B;
end Bug;
and instantiate Bug.B.
inner block R = Impl;
will be removed.
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Hopefully fixed in r14412.