Don't report missing reflection diagnostic for KType/KTypeProjection/KVariance

This commit is contained in:
Alexander Udalov
2019-10-24 22:00:31 +02:00
parent 896512f7cd
commit 59959c52ad
4 changed files with 27 additions and 15 deletions
@@ -45,3 +45,18 @@ fun <T : Any> kclass(k: KClass<*>, kt: KClass<T>) {
k.hashCode()
k.toString()
}
fun ktype(t: KType, t2: KType) {
t.classifier
t.arguments
t.isMarkedNullable
t.annotations
t == t2
t.hashCode()
t.toString()
KTypeProjection.Companion.covariant(t)
KTypeProjection.STAR
KTypeProjection(KVariance.IN, t)
}