﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1872	Array-expression and when-statements do not work	Martin Sjölund	Willi Braun	"{{{
model M
  Boolean b[1] = {time>0.5};
  Real r;
  Integer i;
equation
  der(r) = 1;
algorithm
  when b then
    i := integer(time);
  end when;
end M;
}}}

The flattened code contains `when {b[1]}` (which is correct). The backend changes this to `when b` (which code-generation does not like).

Used in 3.2.1 Modelica.Blocks.Examples.Interaction1"	defect	closed	high	1.9.0	Backend	trunk	fixed	events	
