From bfa3f89aeb727518703f0a167153cb048724a6d1 Mon Sep 17 00:00:00 2001 From: Quantum64 Date: Wed, 24 Nov 2021 16:34:52 -0500 Subject: [PATCH] Fix grammatical error in unsupported reflection exception --- .../src/kotlin/reflect/jvm/internal/KClassImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KClassImpl.kt b/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KClassImpl.kt index 9acf0dcbd40..a7af316fe7e 100644 --- a/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KClassImpl.kt +++ b/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KClassImpl.kt @@ -316,7 +316,7 @@ internal class KClassImpl( throw UnsupportedOperationException( "This class is an internal synthetic class generated by the Kotlin compiler, such as an anonymous class " + "for a lambda, a SAM wrapper, a callable reference, etc. It's not a Kotlin class or interface, so the reflection " + - "library has no idea what declarations does it have. Please use Java reflection to inspect this class: $jClass" + "library has no idea what declarations it has. Please use Java reflection to inspect this class: $jClass" ) } KotlinClassHeader.Kind.UNKNOWN -> {