Opened 20 months ago

Closed 20 months ago

Last modified 18 months 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:

Description

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, 20 months ago

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

comment:2 by Maxim Reznik, 20 months 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, 18 months ago

Milestone: 0.8.018.0

Milestone renamed

Note: See TracTickets for help on using tickets.