Add KClass.isValue to kotlin-reflect

#KT-44782 Fixed
This commit is contained in:
Alexander Udalov
2021-03-05 20:15:35 +01:00
parent 4d51d71699
commit 6ddca4a592
5 changed files with 34 additions and 0 deletions
@@ -81,6 +81,10 @@ public class ClassReference(override val jClass: Class<*>) : KClass<Any>, ClassB
override val isFun: Boolean
get() = error()
@SinceKotlin("1.5")
override val isValue: Boolean
get() = error()
private fun error(): Nothing = throw KotlinReflectionNotSupportedError()
override fun equals(other: Any?) =