﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3563	Functional input arguments ignore default arguments	Per Östlund	somebody	"The following model doesn't work, because the type checking ignores the default argument on f2.y.
{{{#!mo
function f1
  input Real x;
  input PF pf;
  output Real y = pf(x);

  partial function PF
    input Real x;
    output Real y;
  end PF;
end f1;

function f2
  input Real x;
  input Real y = 2.0;
  output Real z = x + y;
end f2;

model test
  Real x = f1(3.0, f2); // Error: (Real, Real) => Real != Real => Real
end test;
}}}
This is annoying when writing MetaModelica code and using e.g. List.fold with a function that has default arguments."	defect	new	normal	Future	Frontend				
