﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6352	Function returning record with array fails	Francesco Casella	Mahder Alemseged Gebremedhin	"Please consider this test model (also attached)
{{{
#!mo
model TestFunctionRecordArray
  constant Integer c = 3;

  record R
    Real v;
    Real x[c];
  end R;

  function f
    input Real v;
    output R rout;
  algorithm
    rout.v := v;
    rout.x := {0.3, 0.4, 0.3};
  end f;

  Real x;
  R r;
equation
  x = time;
  r = f(x);
end TestFunctionRecordArray;
}}}

The model fails during compilation with
{{{
TestFunctionRecordArray_functions.c:33:3: error: 
use of undeclared identifier '_rout'
  _rout._x = _OMC_LIT0;
  ^
}}}"	defect	accepted	high		Code Generation	v1.17.0-dev			Karim Adbdelhak Andreas Heuermann Per Östlund
