From e27b2990e3ebcb12b2a40c331fe1e5aa39069560 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Fri, 31 Jan 2020 09:50:50 -0500 Subject: [PATCH] Update message on KotlinReflectionInternalError to reflect that typealiases are also unsupported --- .../src/kotlin/reflect/jvm/internal/EmptyContainerForLocal.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/reflection.jvm/src/kotlin/reflect/jvm/internal/EmptyContainerForLocal.kt b/core/reflection.jvm/src/kotlin/reflect/jvm/internal/EmptyContainerForLocal.kt index 7bec8703ee2..2a27d49fa04 100644 --- a/core/reflection.jvm/src/kotlin/reflect/jvm/internal/EmptyContainerForLocal.kt +++ b/core/reflection.jvm/src/kotlin/reflect/jvm/internal/EmptyContainerForLocal.kt @@ -39,6 +39,6 @@ internal object EmptyContainerForLocal : KDeclarationContainerImpl() { override fun getLocalProperty(index: Int): PropertyDescriptor? = null private fun fail(): Nothing = throw KotlinReflectionInternalError( - "Introspecting local functions, lambdas, anonymous functions and local variables is not yet fully supported in Kotlin reflection" + "Introspecting local functions, lambdas, anonymous functions, local variables and typealiases is not yet fully supported in Kotlin reflection" ) }