deprecating types after colon
This commit is contained in:
+3
-1
@@ -1,3 +1,5 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
import kotlin.reflect.KFunction0
|
||||
|
||||
class A
|
||||
@@ -5,5 +7,5 @@ class A
|
||||
fun main() {
|
||||
val x = ::A
|
||||
|
||||
x : KFunction0<A>
|
||||
checkSubtype<KFunction0<A>>(x)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user