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