Hey <@U0ANUS2BA> ... odd one here. I have a compa...
# reflect
a
Hey @udalov ... odd one here. I have a companion method, that is
@JvmStatic
and it has 7 parameters (1 instance, 6 value). The instance is the companion object, I provide 4 of the 6 with callBy map. But the error I get back is
java.lang.IllegalArgumentException: Callable expects 10 arguments, but 9 were provided.
so where does 10 come from? the Java version of the Method says 6 parameters because it doesn't have the instance one. I can't see why the odd error is coming up. Other reflection calls to companion methods that are not static are fine