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