﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2300	empty array	Lennart Ochel	Adrian Pop	"The following model works fine:
{{{#!mo
model emptyArray1
  parameter Integer N = 0;
  Real r1[N];
  Real r2[N];
equation 
  r1 = fill(1.0, N);
equation
  r2 = r1;
end emptyArray1;
}}}

The model fails if the second equation get replaced with an algorithm:
{{{#!mo
model emptyArray2
  parameter Integer N = 0;
  Real r1[N];
  Real r2[N];
equation 
  r1 = fill(1.0, N);
algorithm 
  r2 := r1;
end emptyArray2;
}}}

InstantiateModel produces the following code for model emptyArray2:
{{{#!mo
class emptyArray2
  parameter Integer N = 0;
algorithm
  r2 := {};
end emptyArray2;
}}}
The problem is that there occurs a variable without definition ({{{r2}}})."	defect	closed	blocker	1.9.0	Frontend	trunk	fixed		
