﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1242	Backend: cref = fnCall() fails for integer arrays in the simulation context	Martin Sjölund	Martin Sjölund	"Compilation succeeds due to real_array and integer_array both being the same type (base_array), but the results are wrong (copying from int* to double* without type casting, etc).
Mostly bad because the wrong results are produced instead of an error message. Would be easier to fix this than creating good error messages though.

{{{model A

function arrcalli
input Real r;
output Integer[3] rs;
algorithm
rs := {integer(r),2*integer(r),3*integer(r)};
end arrcalli;

Integer[3] i;
equation
i = arrcalli(time);
end A;}}}"	defect	closed	normal		Simulation Code Generation	1.6.0	fixed		Martin Sjölund
