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

12 lines
116 B
Kotlin

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