Add KClass.isFun modifier to reflection

#KT-38881 Fixed
This commit is contained in:
Alexander Udalov
2020-05-12 20:50:01 +02:00
parent 86b5c63891
commit 82551e91a4
7 changed files with 43 additions and 14 deletions
@@ -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?) =