﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3687	Inline module fails with protected array variables	Willi Braun	Willi Braun	"Following model results into code generation issue, because of protected array variables:
{{{#!modelica
model foo
  function f
    input Real z;
    output Real y;
  protected
    Real a[2];
  algorithm
    a := {2 * z, z};
    y := sum(a);
    annotation(Inline = true);
  end f;

  Real y(start = 0, fixed = true);
  Real z;
equation
  z = f(5 + time);
  der(y) = z;
end foo;
}}}
"	defect	new	high	Future	Backend	v1.9.4-dev-nightly			Vitalij Ruge
