﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1969	function with multiple return value used only first one does not work	Jens Frenkel	Adrian Pop	"According to the msl example 

{{{
// Real    x[:], y[:], xi, yi;
// Integer iLast, iNew;
        yi = Vectors.interpolate(x,y,xi);
(yi, iNew) = Vectors.interpolate(x,y,xi,iLast=1);
}}}

the following model does not work because the FrontEnd does not generate an TSUB Expression around the function call. As a consequence compilation fails.
{{{
model MultiFunctionReturnValueUseOnlyFirst
equation
  assert(abs(Modelica.Math.Vectors.interpolate({ 0,  2,  4,  6,  8, 10},{10, 20, 30, 40, 50, 60},5)) < 0.1,""Only a Test"");
end MultiFunctionReturnValueUseOnlyFirst;
}}}

"	defect	closed	blocker	1.9.0	Frontend	trunk	fixed	MultiFunctionReturnValueUseOnlyFirst	
