diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-28 13:25:57 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-29 11:57:23 +0100 |
commit | 53a5f01fea44a1456ea30c908b9632e16e046597 (patch) | |
tree | 66fdbce1cdf35b280626a9e6d39888cfaf6ef6c7 /src/Kotlin/DocumentationBuilder.kt | |
parent | e59b4904660be6a04f5e380279627bfabbcb36e6 (diff) | |
download | dokka-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.kt | 2 |
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) |