| Product(s) | Karo.Net Compiler |
|---|
There could no “best” overload for the function be found to be called.
#entryPoint; ||: void {
test(false, false);
// ^^^^ The parameters match both overloads of the function equally.
}
test |param1: number, param2: bool|: void {
}
test |param1: bool, param2: number|: void {
}
Cast the parameters in a way, that they match the exact parameter types.