From bd575c39dd2b6611c526a9ff54045648f87f2c40 Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Thu, 27 Nov 2014 18:03:27 +0300 Subject: [PATCH] Fix calling toString() on ProtoContainer --- .../AbstractBinaryClassAnnotationAndConstantLoader.kt | 4 ++-- .../serialization/descriptors/ProtoContainer.kt | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/core/descriptor.loader.java/src/org/jetbrains/jet/lang/resolve/kotlin/AbstractBinaryClassAnnotationAndConstantLoader.kt b/core/descriptor.loader.java/src/org/jetbrains/jet/lang/resolve/kotlin/AbstractBinaryClassAnnotationAndConstantLoader.kt index 77cc9860b5c..8f0777deb7e 100644 --- a/core/descriptor.loader.java/src/org/jetbrains/jet/lang/resolve/kotlin/AbstractBinaryClassAnnotationAndConstantLoader.kt +++ b/core/descriptor.loader.java/src/org/jetbrains/jet/lang/resolve/kotlin/AbstractBinaryClassAnnotationAndConstantLoader.kt @@ -92,7 +92,7 @@ public abstract class AbstractBinaryClassAnnotationAndConstantLoader { val kotlinClass = findClassWithAnnotationsAndInitializers(container, proto, nameResolver, kind) if (kotlinClass == null) { - errorReporter.reportLoadingError("Kotlin class for loading member annotations is not found: $container", null) + errorReporter.reportLoadingError("Kotlin class for loading member annotations is not found: ${container.getFqName(nameResolver)}", null) return listOf() } @@ -127,7 +127,7 @@ public abstract class AbstractBinaryClassAnnotationAndConstantLoader