Opened 3 years ago

#480 new defect

incorrect handling of loop variable

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

Description

A2JS generates incorrect code for nested for loops with same name of loop variable:

   for J in X'Range loop
      for J in Y'Range loop
         null;
      end loop;
      A := X (J);  --  J has invalid value here

Change History (0)

Note: See TracTickets for help on using tickets.