anonymous fun parameter type inference for indirect invocations