christophsturm
03/18/2021, 9:56 AMfun method() {}
fun method(number: Int, name: String) {}
// this works
val m: ()->Unit = ::method
val m2: (Int, String)->Unit = ::method
interface IImpl {
fun method()
fun method(number: Int, name: String)
}
// this does not work
val m: ()->Unit = IImpl::method
val m2: (Int, String)->Unit = IImpl::method
Dominaezzz
03/18/2021, 5:48 PMDominaezzz
03/18/2021, 5:49 PM