﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2176	Better error message for missing else in if-equation	Per Östlund	probably noone	"If-equations with variable conditions must have an else-clause. We detect this, but for a model such as
{{{
model VarConditionNoElse
  Real x(start = 0.0), y(start = 2.0);
equation
  if x < 1.0 then
    x = time;
    y = y + x;
  elseif x >= 1.0 then
    x = 1.0;
    y = der(y);
  end if;
end VarConditionNoElse;
}}}
we print out an error message like
{{{
If-equation with conditions that are not parameter expressions must have the same number of equations in each branch, equation count is {2,2,0} for each respective branch
}}}
So it's not very clear that the real error is a missing else-clause. We could improve this by simply printing out a different error for the case where the else-clause is missing."	enhancement	closed	normal	1.9.4	Backend	trunk	fixed		
