aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-15 15:55:11 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-15 15:55:11 +0200
commitccfe1cda844fb839ddfcacecd3e8454bc8ddaa7b (patch)
tree430687d5b36de6244449c612d7377a223fd129df /core/src/main
parentfb4149a5e7a57a7ea51fb66dc64538102be01737 (diff)
downloaddokka-ccfe1cda844fb839ddfcacecd3e8454bc8ddaa7b.tar.gz
dokka-ccfe1cda844fb839ddfcacecd3e8454bc8ddaa7b.tar.bz2
dokka-ccfe1cda844fb839ddfcacecd3e8454bc8ddaa7b.zip
Fix inline functions tests
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
index d6413b64..eb0399c7 100644
--- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
+++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
@@ -296,7 +296,6 @@ class DocumentationBuilder
fun DocumentationNode.appendModifiers(descriptor: DeclarationDescriptor) {
val psi = (descriptor as DeclarationDescriptorWithSource).source.getPsi() as? KtModifierListOwner ?: return
- appendInline(descriptor, psi)
KtTokens.MODIFIER_KEYWORDS_ARRAY.filter {
it !in knownModifiers
}.sortedBy {
@@ -306,6 +305,7 @@ class DocumentationBuilder
appendTextNode(it.value, NodeKind.Modifier)
}
}
+ appendInline(descriptor, psi)
}
fun DocumentationNode.appendDefaultPlatforms(descriptor: DeclarationDescriptor) {