Opened 11 years ago
Closed 5 years ago
#2914 closed defect (fixed)
Redeclaration is not applied
| Reported by: | Martin Sjölund | Owned by: | Per Östlund |
|---|---|---|---|
| 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 by , 5 years ago
| Milestone: | Future → 1.16.0 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Both the old and the new frontend handles this correctly now.