Opened 5 years ago
Last modified 5 years ago
#5535 new defect
Inheritence of classes with same elements results in doubling
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | blocker | Milestone: | 2.0.0 |
Component: | OMEdit | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: |
Description
If a class gets inherited by extends clause, which have the same element (e.g. parameter, with exactly the same name) the parameter appears twice in the dialog of the flattened enclosing class.
Same case if a model extends two base classes with same elements.
See attached test package for minimal example.
As far as I know (see ModelicaSpec 3.4 chapter 7.1 Inheritance—Extends Clause)
only the first element in order is kept, rest will be ignored.
thank you in advance.
Attachments (1)
Change History (2)
by , 5 years ago
Attachment: | DisplayErrorInheritence.zip added |
---|
comment:1 by , 5 years ago
Milestone: | Future → 2.0.0 |
---|---|
Priority: | high → blocker |
See also #4809. Probably two related issues.
Note:
See TracTickets
for help on using tickets.
test package