dmitry.petrov
::
fun foo(i: Int) {} fun foo(s: String) {} val fn1 = ::foo // Error val fn2: (Int) -> Unit = ::foo // Ok