﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1808	Reject multiple elements in class	adabe588@…	somebody	"I'm not sure if function overloading is supported or not. I suppose that with the package system there is not much point to having it, but if overloading is attempted no errors occur but all functions are not called properly either.

{{{

package O

function f
  input Integer i;
algorithm
  print(""foo"");
end f;

function f
  input String s;
algorithm
  print(s);
end f;

end O;
}}}

{{{

setCommandLineOptions({""+d=rml,noevalfunc,failtrace"",""+g=MetaModelica""});
loadFile(""Overloading.mo"");

O.f(1);
O.f(""x"");
O.f(2);
}}}

Expected: duplicate function definition error, or
{{{
{true,true}
{true}
foo
x
foo
}}}

Actual:
{{{
{true,true}
true

x

}}}
"	defect	closed	critical	1.9.0	Parser	trunk	fixed		
