Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#500 closed defect (fixed)

invalid code for "in out" parameters

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


Inside procedure

   procedure Iterate
    (Self    : in out Model_Iterator'Class;
     Visitor :
       in out Standard.Model.Frame.Visitors.Abstract_Frame_Visitor'Class;
     Model   : not null Model_Access)

Dispatching call to another procedure

   procedure Visit
    (Self    : in out Abstract_Iterator'Class;
     Visitor : in out Model.Visitors.Abstract_Visitor'Class;
     Element : not null Model.Element_Access;
     Control : in out Model.Visitors.Traverse_Control);

incorrectly assign return value

  var _r = _ec.model.iterators.visit(self$, visitor, (current), control);
  self$ = _r.control;

Change History (3)

comment:1 by Maxim Reznik, 3 years ago

This is NOT a dispatching call, but bug still there anyway.

comment:2 by Maxim Reznik, 3 years ago

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

In 5865:

a2js: fix simple output argument passing.

Closes #500

comment:3 by vadim.godunko, 3 years ago


Milestone renamed

Note: See TracTickets for help on using tickets.