﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3422	Invalid for loop range in ModelicaCompliance.Algorithms.For.ArrayRange is not detected	Henrik Tidefelt	Martin Sjölund	"Validation of ModelicaCompliance.Algorithms.For.ArrayRange gives no indication of an error in the model, but the purpose of the model is to check enforcement of the rule in section 11.2.2 that the loop range must be vector expression.

{{{
model ArrayRange
  Real x[4, 2];
algorithm
  for elem in {{1, 2}, {3, 4}, {5, 6}, {7, 8}} loop
    x[div(elem[2], 2), :] := elem;
  end for;
  annotation(__ModelicaAssociation(TestCase(shouldPass = false, section = {""11.2.2""})), experiment(StopTime = 0.01), Documentation(info = ""<html>Tests that the range of a for-statement must be a vector
        expression, i.e. it should have exactly one dimension.</html>""));
end ArrayRange;
}}}
"	defect	closed	normal	1.9.4	Frontend	trunk	fixed		
