https://kotlinlang.org logo
k

kirillrakhman

05/06/2016, 1:45 PM
while thinking about the KEEP for bound callable refereces, I noticed that the following doesn't work:
Copy code
class Foo {
    fun Foo.doStuff() {}
}

fun bar() {
    val a = Foo::doStuff
}
I'm not sure if it has any applications, but currently there's no way at all to create a reference to
doStuff