Opened 11 years ago
Closed 11 years ago
#3239 closed defect (fixed)
Missing class modification
| Reported by: | Adrian Pop | Owned by: | Adrian Pop |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.3 |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: | carlj@…, leonardo@… |
Description (last modified by )
Flattening this:
connector RealInput = input Real; connector RealOutput = output Real; block PI extends Der; parameter Real T(start = 1, min = -10000); end PI; block Der RealInput u; RealOutput y; end Der; model m1 replaceable Der outBlock; end m1; model m2 extends m1(redeclare replaceable PI outBlock(T = 2.2)); end m2; model m3 extends m2(outBlock(T = 5.0)); end m3;
should give:
class m3 parameter Real outBlock.T(min = -10000.0, start = 1.0) = 5.0; end m3;
but instead gives:
class m3 parameter Real outBlock.T(min = -10000.0, start = 1.0) = 2.2; end m3;
Change History (5)
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
| Description: | modified (diff) |
|---|
comment:4 by , 11 years ago
| Description: | modified (diff) |
|---|
comment:5 by , 11 years ago
| Milestone: | Future → 1.9.3 |
|---|---|
| Resolution: | → fixed |
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in r25205.