aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/DocumentationBuilder.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 13:25:57 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:23 +0100
commit53a5f01fea44a1456ea30c908b9632e16e046597 (patch)
tree66fdbce1cdf35b280626a9e6d39888cfaf6ef6c7 /src/Kotlin/DocumentationBuilder.kt
parente59b4904660be6a04f5e380279627bfabbcb36e6 (diff)
downloaddokka-53a5f01fea44a1456ea30c908b9632e16e046597.tar.gz
dokka-53a5f01fea44a1456ea30c908b9632e16e046597.tar.bz2
dokka-53a5f01fea44a1456ea30c908b9632e16e046597.zip
correctly render qualified names for external classes
Diffstat (limited to 'src/Kotlin/DocumentationBuilder.kt')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index 4b148c39..ea54f4d3 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -421,7 +421,7 @@ class DocumentationBuilder(val resolutionFacade: ResolutionFacade,
val extensionClassDescriptor = descriptor.getExtensionClassDescriptor()
if (extensionClassDescriptor != null && !isSamePackage(descriptor, extensionClassDescriptor) &&
!ErrorUtils.isError(extensionClassDescriptor)) {
- val fqName = DescriptorUtils.getFqNameFromTopLevelClass(extensionClassDescriptor)
+ val fqName = DescriptorUtils.getFqNameSafe(extensionClassDescriptor)
return externalClassNodes.getOrPut(fqName, {
val newNode = DocumentationNode(fqName.asString(), Content.Empty, Kind.ExternalClass)
append(newNode, DocumentationReference.Kind.Member)