﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1189	Illegal nested when-statements and when-equations are not detected.	Peter Aronsson	Peter Aronsson	"Both nested when-statements and when-equations are illegal in Modelica. But the compiler does not complain when it encounters them.

Example
{{{ model Model1
 Integer x;
 Integer y;
 algorithm
 when sample(0, 1) then
 	if time > 1 then
 			x:=1;
 	end if;
when x > 0 then
y:=3;
end when;
 end when;
 end Model1;
}}}

Example provided by Wladimir Schamai (EADS)"	defect	closed	critical		Instantiation		fixed		Peter Aronsson Per Östlund
