﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2401	Parser accepts wrong model	Adrian Pop	Martin Sjölund	"The model which is accepted is:
{{{
package ArrayModification
  partial function fpartial
    input Real x;
    output Real y;
  end fpartial;

  model X
    parameter Real k = 1;
    replaceable function f = fpartial;
    parameter Real x = f(k);
  end X;

  function f1
    input Real x;
    output Real y;
  algorithm 
    y :=x;
  end f1;

  function f2
    input Real x;
    output Real y;
  algorithm 
    y :=x + 1;
  end f2;

  model Y
    X x[2](f = {function f1(x = 1), function f2(x = 2)});
  end Y;

end ArrayModification;
}}}

class modification have only arguments which do not contain function prefix. function prefix should only be accepted in function calls."	defect	closed	high	1.9.1	Parser	trunk	fixed		
