﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2362	Wrong handling of scalar()	Martin Sjölund	Martin Sjölund	"Based on Modelica.Media.Examples.R134a.R134a1:
{{{#!mo
function f
  input Real[:] rs;
  output Integer i;
protected
  Integer n=scalar(size(rs)) - 1 ""Max value"";
algorithm
  i := n;
end f;

model M
  Real r = f(fill(1,3));
end M;
}}}

This is flattened to: `n=size(rs) - 1`, which is wrong (should be size(rs,1) if anything)."	defect	closed	high	1.9.0	Frontend	trunk	fixed		
