Opened 13 years ago

Last modified 13 years ago

#1511 closed defect (fixed)

Alias variable subscripts cause compilation errors

Reported by: sjoelund.se Owned by: sjoelund.se
Priority: high Milestone:
Component: Version:
Keywords: Cc: sjoelund.se, Frenkel TUD

Description

x3 cannot be found because it is not replaced by the backend :)

class A
  Integer x1 = if time < 0.5 then 1 else 3;
  Integer x3 = x1;
  Real x2;
  Real r[1] = {2.5};
algorithm
  x2 := r[x3];
end A;

Change History (0)

Note: See TracTickets for help on using tickets.