Opened 10 years ago
Closed 3 years ago
#2914 closed defect (fixed)
Redeclaration is not applied
Reported by: | sjoelund.se | Owned by: | perost |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
Redeclaration is not applied in the following example:
model M Real r; end M; model N extends M(redeclare parameter Real r = 3.0); end N;
OpenModelica gives:
class N Real r; end N;
Change History (1)
comment:1 Changed 3 years ago by perost
- Milestone changed from Future to 1.16.0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Both the old and the new frontend handles this correctly now.