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
@@ -285,6 +285,10 @@ internal class KClassImpl<T : Any>(
override val isFun: Boolean
get() = descriptor.isFun
@Suppress("NOTHING_TO_OVERRIDE") // Temporary workaround for the JPS build until bootstrap
override val isValue: Boolean
get() = descriptor.isValue
override fun equals(other: Any?): Boolean =
other is KClassImpl<*> && javaObjectType == other.javaObjectType