﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2009	Code generation fails when array of a record is passed to a function	Christian Schubert	Martin Sjölund	"Hi,

I have a problem with Code generation when passing arrays of records to a function as in this simple test model:
{{{
model RecordArrayInFunction
  record Record
    Real x[4];
  end Record;

  function fun
    input Record u[2];
    output Real y;
  algorithm
    y :=sum(u[1].x) + sum(u[2].x);
  end fun;

  Record r[2](each x = 1:4);
  Real z;

equation
  z = fun(r);
end RecordArrayInFunction;
}}}

gcc fails because the type 'RecordArrayInFunction_Record_array' is not defined."	defect	closed	normal	1.9.0	Code Generation	trunk	fixed	code generation record array function	Jens Frenkel
