Move callable reference diagnostic tests to non-stdlib
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import kotlin.reflect.KFunction0
|
||||
|
||||
fun main() {
|
||||
class A
|
||||
|
||||
class B {
|
||||
val x = ::A
|
||||
val f: KFunction0<A> = x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user