aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-04 06:30:00 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-04 06:30:00 +0300
commit4e24de5649be49a186e67000b5cd0ddc415d0366 (patch)
tree973be04a42690664df75d84a2430aa94b9df20a7 /core/src/main/kotlin
parent76e3ec143e12f36d0fe8e6aaec37f7e26cea9a39 (diff)
downloaddokka-4e24de5649be49a186e67000b5cd0ddc415d0366.tar.gz
dokka-4e24de5649be49a186e67000b5cd0ddc415d0366.tar.bz2
dokka-4e24de5649be49a186e67000b5cd0ddc415d0366.zip
Fix lost members of group nodes
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/Generation/DocumentationMerger.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Generation/DocumentationMerger.kt b/core/src/main/kotlin/Generation/DocumentationMerger.kt
index fc2bf0fa..b29c2915 100644
--- a/core/src/main/kotlin/Generation/DocumentationMerger.kt
+++ b/core/src/main/kotlin/Generation/DocumentationMerger.kt
@@ -148,7 +148,7 @@ class DocumentationMerger(
// if nodes are classes, nested members should be also merged and
// inserted at the same level with class
- if (nodes.all { it.kind == NodeKind.Class }) {
+ if (nodes.all { it.kind in NodeKind.classLike }) {
val members = nodes.flatMap { it.allReferences() }.filter { it.kind == RefKind.Member }
val mergedMembers = mergeMemberReferences(groupNode, members)