Kmemberfunctions


#1

I'm studying the kmemberfunctions in Kotlin. There's something I'm confused by --

 
fun main(args: Array<String>) {
   println(::main == ::main) // false
}

Are kmemberfunctions closures or references?  They require a reviver in order to invoke, so I would think they'd be identical.


#2

The output of this program will be true once function references are equipped with reflection features.