﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1790	Component redeclarations does not inherit array dimensions.	dhedberg@…	Per Östlund	"Redeclaring a component should inherit the original array dimensions (and array dimension sizes) of the original declaration if no array dimensions are specified in the redeclaration.

Given:
{{{
model M1
  replaceable Real r[3];
end M1;

model M2
  extends M1(redeclare Real r);
end M2;
}}}

instantiateModel(M1) and instantiateModel(M2) should produce the same result for r, but the array dimension is missing in M2.

instantiateModel(M1):
{{{
class M1
  Real r[1];
  Real r[2];
  Real r[3];
end M1;
}}}

instantiateModel(M2):
{{{
class M2
  Real r;
end M2;
}}}
"	defect	closed	high	1.13.0	New Instantiation		fixed		
