Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/noAmbiguityMemberVsTopLevel.kt
T
Alexander Udalov c4b4fa750c Resolve callable reference expressions
#KT-1183 In Progress
2013-04-22 17:59:31 +04:00

12 lines
132 B
Kotlin

fun foo() {}
class A {
fun foo() {}
fun main() {
val x = ::foo
x : KMemberFunction0<A, Unit>
}
}