﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2688	Matching fails if ASUB-conversion is disabled	Per Östlund	probably noone	"In InstSection.instForStatement there's a call to replaceLoopDependentCrefs in the second case, which replaces crefs that depend on for-iterators with ASUB expressions. If this call is commented out, then the matching will fail on the following model (simplified from AlgorithmForInClass test case):
{{{#!mo
model Test
  Real x[2, 2];
  Real y[2];
algorithm
  for i in 1:2 loop
    for j in 1:2 loop
      y[i + j] := j;
      x[i, j] := i;
    end for;
  end for;
end Test;
}}}
This is an issue because it's not actually possible to convert all crefs to ASUBs, e.g. x[i].y can't be represented as an ASUB. So it would be good if the back end could handle these cases, and replaceLoopDependentCrefs removed."	defect	closed	high	1.9.1	Backend	trunk	fixed		Willi Braun Lennart Ochel Mahder Alemseged Gebremedhin
