﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5034	Here old FE had a better error message.	massimo ceraolo	Per Östlund	"Consider the following code: 

{{{
model a
 Real x=1;
 parameter Integer N=2;
 parameter Real R1[N, N](unit=""Ohm/m"") = 0.3*[1, 0; 0, 1]/1000
          ""resistances per unit length"";
equation
end a;
}}}
Old FE issues the following warning:

{{{
[1] 08:35:42 Translation Warning
[a: 4:26-4:38]: Non-array modification '""Ohm/m""' for array component, possibly due to missing 'each'.
}}}

which is very clear. For the same code the new FE issues an error, with the following message:

{{{
[2] 08:36:40 Translation Error
[a: 4:2-5:40]: Type mismatch in binding unit = ""Ohm/m"", expected subtype of String[2, 2], got type String.
}}}

I don't know whether this should be a warning or an error. Anyway, the Old FE message is clearer from the user point-of-view. I propose a message similar to the old one, or a combination of old and new ones.

"	defect	closed	normal	1.13.0	New Instantiation		invalid		
