Add KClass.isFun modifier to reflection
#KT-38881 Fixed
This commit is contained in:
@@ -77,6 +77,10 @@ public class ClassReference(override val jClass: Class<*>) : KClass<Any>, ClassB
|
||||
override val isCompanion: Boolean
|
||||
get() = error()
|
||||
|
||||
@SinceKotlin("1.4")
|
||||
override val isFun: Boolean
|
||||
get() = error()
|
||||
|
||||
private fun error(): Nothing = throw KotlinReflectionNotSupportedError()
|
||||
|
||||
override fun equals(other: Any?) =
|
||||
|
||||
Reference in New Issue
Block a user