Minor: Fix error message in reflection.jvm

This commit is contained in:
Steven Schäfer
2019-09-24 13:41:25 +02:00
committed by Alexander Udalov
parent 21af7dfbe1
commit a8730eae62
@@ -136,7 +136,7 @@ internal abstract class KDeclarationContainerImpl : ClassBasedDeclarationContain
} }
val allMembers = getProperties(Name.identifier(name)).joinToString("\n") { descriptor -> 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( throw KotlinReflectionInternalError(
"Property '$name' (JVM signature: $signature) not resolved in $this:" + "Property '$name' (JVM signature: $signature) not resolved in $this:" +
@@ -155,7 +155,7 @@ internal abstract class KDeclarationContainerImpl : ClassBasedDeclarationContain
if (functions.size != 1) { if (functions.size != 1) {
val allMembers = members.joinToString("\n") { descriptor -> 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( throw KotlinReflectionInternalError(
"Function '$name' (JVM signature: $signature) not resolved in $this:" + "Function '$name' (JVM signature: $signature) not resolved in $this:" +