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

15 lines
226 B
Kotlin

fun main() {
class A
class B {
fun Int.foo() {
val x = ::A
x : KFunction0<A>
}
fun A.foo() {
val x = ::A
x : KFunction0<A>
}
}
}