Opened 5 years ago
Closed 5 years ago
#5941 closed defect (fixed)
Metarecords in uniontypes that are used only in function output bindings are not defined in the .h file
Reported by: | Adrian Pop | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | MetaModelica | Version: | |
Keywords: | Cc: | John Tinnerholm |
Description
Not working:
function newDuplicate input NFLookupTree.Entry kept; input NFLookupTree.Entry duplicate; output Entry entry = ENTRY(kept, NONE(), {newEntry(duplicate)}, EntryType.DUPLICATE); end newDuplicate;
Missing definition of
extern struct record_description NFDuplicateTree_Entry_ENTRY__desc;
in the .h file.
Change History (4)
comment:1 by , 5 years ago
Cc: | added |
---|
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:3 by , 5 years ago
comment:4 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Should be fixed by: https://github.com/OpenModelica/OpenModelica/pull/846