Opened 5 years ago
Closed 4 years ago
#6011 closed defect (fixed)
OMEdit does not correctly add redeclare statements
Reported by: | Francesco Casella | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | blocker | Milestone: | 1.16.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: | Adrian Pop |
Description
Please consider the attached test package:
- activate replaceable support
- open the package in OMEdit
- open model
S
- double-click on
m
- select
TestReplaceablePar.RM2
- click ok
The following code is obtained
TestReplaceablePar.M m( RM = TestReplaceablePar.BM / TestReplaceablePar.RM2) annotation(...);
I would have expected
TestReplaceablePar.M m( redeclare model RM = TestReplaceablePar.RM2) annotation(...);
Attachments (1)
Change History (4)
by , 5 years ago
Attachment: | TestReplaceablePar.mo added |
---|
comment:1 by , 5 years ago
Component: | *unknown* → OMEdit |
---|---|
Status: | new → assigned |
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | assigned → accepted |
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Checked this after PR #6752, the redeclare statement is now ok.
Note:
See TracTickets
for help on using tickets.
I need to check this first, then I'll pass it to @adeas31 if needed.