Opened 4 years ago
Closed 4 years ago
#6011 closed defect (fixed)
OMEdit does not correctly add redeclare statements
Reported by: | casella | Owned by: | adrpo |
---|---|---|---|
Priority: | blocker | Milestone: | 1.16.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: | adrpo |
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)
Changed 4 years ago by casella
comment:1 Changed 4 years ago by casella
- Component changed from *unknown* to OMEdit
- Status changed from new to assigned
comment:2 Changed 4 years ago by adrpo
- Owner changed from adeas31 to adrpo
- Status changed from assigned to accepted
comment:3 Changed 4 years ago by casella
- Resolution set to fixed
- Status changed from accepted to 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.