Opened 4 years ago

Closed 4 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: adrpo Owned by: adrpo
Priority: high Milestone: 1.16.0
Component: MetaModelica Version:
Keywords: Cc: johti17

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 Changed 4 years ago by adrpo

  • Cc johti17 added

comment:2 Changed 4 years ago by adrpo

  • Owner changed from sjoelund.se to adrpo
  • Status changed from new to accepted

comment:4 Changed 4 years ago by adrpo

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.