You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd guess that call('str'.to_java) invokes the right one, but I agree we could do a better job when we know we're turning an argument into a java.lang.String or other basic type.
it's not an issue with type matching (call('str'.to_java) does not invoke the right one) but of a varargs processing as it's only considered a suitable match for arities where the var-arg parameter receives an arg...
assuming 2 methods
(Object... args)
and(String a, Object... args)
a
call('str')
won't match(String a, Object... args)
but simply uses the generic oneThe text was updated successfully, but these errors were encountered: