﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2986	Trying to use a partial function gives linker error instead of compilation error	Per Östlund	somebody	"Trying to run this:
{{{#!mo
function f
  input FuncType inFunc;
  input Real x;
  output Real y := FuncType(x);  // This is wrong, should be inFunc(x)

  partial function FuncType
    input Real x;
    output Real y;
  end FuncType;
end f;

function f2
  input Real x;
  output Real y := 2 * x;
end f2;

function test
  output Real x := f(f2, 3.0);
end test;
}}}
gives the error
{{{
""Error: OMC unable to load `./test.so': ./test.so: undefined symbol: omc_f_FuncType.
}}}
It would be better if it gave an error for trying to use a partial function instead."	defect	new	normal	Future	MetaModelica	trunk			
