﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1059	Illegal Modelica code is allowed (vectorized expression output from functions) (from MathCore)	krsta	krsta	"The following class is illegal according to Modelica since it contains expressions on left-hand side of the vectorized function output. There is a message that it is not supported when building but building is successfully and a (correct) result is returned.

{{{
class EqualityEquations
  Real x,y,z;
function f
 input Real u;
 input Real v;
output Real y[3];
algorithm
 y:={u+v,u-v,u*v};
end f;
equation
  {x+1, y, 1/z} = f(1.0, 2.0); // Illegal!
        // Not a list of variables
        // on the left-hand side
end EqualityEquations;
}}}"	defect	closed	normal				invalid		krsta
