Hey everyone, ```class A<T> fun <T> ...
# announcements
a
Hey everyone,
Copy code
class A<T>

fun <T> A<T>.doSomething(v: T) = Unit
fun <T> A<T>.doSomething(v: (T) -> T) = Unit

fun x() {

    //Works fine
    A<String>().doSomething("")

    //Cannot choose among the candidates without completing type inference
    A<String>().doSomething { "" }
}
Is there a way to fix this without having to explicitly provide the type params? something similar to
@BuilderInference
maybe?
a