From a8730eae6207932f500067cc64da98e32b5be149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Sch=C3=A4fer?= Date: Tue, 24 Sep 2019 13:41:25 +0200 Subject: [PATCH] Minor: Fix error message in reflection.jvm --- .../kotlin/reflect/jvm/internal/KDeclarationContainerImpl.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KDeclarationContainerImpl.kt b/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KDeclarationContainerImpl.kt index 75d6322beac..95efb814b59 100644 --- a/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KDeclarationContainerImpl.kt +++ b/core/reflection.jvm/src/kotlin/reflect/jvm/internal/KDeclarationContainerImpl.kt @@ -136,7 +136,7 @@ internal abstract class KDeclarationContainerImpl : ClassBasedDeclarationContain } val allMembers = getProperties(Name.identifier(name)).joinToString("\n") { descriptor -> - DescriptorRenderer.DEBUG_TEXT.render(descriptor) + " | " + RuntimeTypeMapper.mapPropertySignature(descriptor) + DescriptorRenderer.DEBUG_TEXT.render(descriptor) + " | " + RuntimeTypeMapper.mapPropertySignature(descriptor).asString() } throw KotlinReflectionInternalError( "Property '$name' (JVM signature: $signature) not resolved in $this:" + @@ -155,7 +155,7 @@ internal abstract class KDeclarationContainerImpl : ClassBasedDeclarationContain if (functions.size != 1) { val allMembers = members.joinToString("\n") { descriptor -> - DescriptorRenderer.DEBUG_TEXT.render(descriptor) + " | " + RuntimeTypeMapper.mapSignature(descriptor) + DescriptorRenderer.DEBUG_TEXT.render(descriptor) + " | " + RuntimeTypeMapper.mapSignature(descriptor).asString() } throw KotlinReflectionInternalError( "Function '$name' (JVM signature: $signature) not resolved in $this:" +