aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 f91c922c..875048e5 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -43,10 +43,10 @@ class DocumentationBuilder(val session: ResolveSession, val options: Documentati
val doc = parseDocumentation(descriptor)
val node = DocumentationNode(descriptor.getName().asString(), doc, kind)
if (descriptor is MemberDescriptor) {
+ node.appendVisibility(descriptor)
if (descriptor !is ConstructorDescriptor) {
node.appendModality(descriptor)
}
- node.appendVisibility(descriptor)
}
return node
}