Opened 12 years ago
Last modified 7 years ago
#1936 closed defect
Final and redeclare do not work well together — at Version 2
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
Final and redeclare do not work well together, this model should work:
record N0 replaceable Real x,y; end N0; record N = N0(redeclare Real x(start=1), redeclare Real y(start=2)); model O N n; end O; model M extends O(final n(x=1.5,y=2.5)); end M;
Change History (2)
comment:1 by , 12 years ago
Description: | modified (diff) |
---|
comment:2 by , 12 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.