﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2854	Generate unique names for functions called via components	Adrian Pop	Adrian Pop	"{{{#!mo
model N
  constant Real c;
  function x
    input Real r;
    output Real o := r;
  end x;
  function f
    input Real r;
    output Real o := x(sum(c*i for i in r:r+1));
  end f;
end N;

model M
  N n1(c=1),n2(c=2);
  Real r1 = n1.f(time), r2 = n2.f(time);
end M;
}}}
currently flattens to:
{{{#!mo
function N.f
  input Real r;
  output Real o = N.x(sum(i for i in r:1.0 + r));
end N.f;

function N.x
  input Real r;
  output Real o = r;
end N.x;

class M
  constant Real n1.c = 1.0;
  constant Real n2.c = 2.0;
  Real r1 = N.f(time);
  Real r2 = N.f(time);
end M;
}}}
"	defect	closed	high	1.9.1	Frontend	trunk	fixed		
