Add KClass.isValue to kotlin-reflect
#KT-44782 Fixed
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user