ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
Describe the bug
A variadic method handler should be called if there are normal method with the same name
To Reproduce
public class A
{
static Test(params string[] args)
{
console.writeLine("params:string");
}
static Test(string[] args)
{
console.writeLine("string[]");
}
}
public program()
{
var a := A;
a.Test("abc");
}
Expected behavior
The correct method has to be called.
Please complete the following information:
OS: [e.g. Windows 10]
Version [e.g. ELC 3.4.248 / ELENA API 3.4.50]
Additional context
Add any other context about the problem here.
Describe the bug A variadic method handler should be called if there are normal method with the same name
To Reproduce
Expected behavior The correct method has to be called.
Please complete the following information:
Additional context Add any other context about the problem here.