Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#446 closed defect (fixed)

incorrect assignment for type with discriminant

Reported by: vadim.godunko Owned by: Maxim Reznik
Priority: major Milestone: 18.0
Component: Matreshka - a2js Version:
Keywords: Cc:


For type

   type Optional_Real (Present : Boolean := False) is record
      case Present is
         when False =>

         when True =>
            Value : Real;
      end case;
   end record;

generated _assign function assigns only 'value' component and ignores 'present' discriminant.

Change History (2)

comment:1 by Maxim Reznik, 6 years ago

Owner: set to Maxim Reznik
Resolution: fixed
Status: newclosed

In 5499:

Add Assign property

to calculate _assign subprogram for assiging components,
discriminants, variants and variant parts.
Fixed #446

comment:2 by vadim.godunko, 3 years ago


Milestone renamed

Note: See TracTickets for help on using tickets.