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 Adrian Pop, 5 years ago

Cc: John Tinnerholm added

comment:2 by Adrian Pop, 5 years ago

Owner: changed from Martin Sjölund to Adrian Pop
Status: newaccepted

comment:4 by Adrian Pop, 5 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.