﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1920	Add casts inside matrix constructor	Martin Sjölund	Martin Sjölund	"The following code flattens wrongly:
{{{
model M
  function f
    input Integer i[:];
    input Real r[:];
    output Real o[:,:];
  algorithm
    o := [i;r];
  end f;
  Real mat[:,:] = f({1,2,3},{4,5,6});
end M;
}}}

It becomes:
{{{
  o := /*Real[:, 1]*/(cat(1, promote(i, 1), promote(r, 1)));
}}}

But should become:

{{{
  o := (cat(1, /*Real[:, 1]*/ promote(i, 1), promote(r, 1)));
}}}
"	defect	closed	high	1.9.0	Frontend		fixed		
