diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-04 06:30:00 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-04 06:30:00 +0300 |
commit | 4e24de5649be49a186e67000b5cd0ddc415d0366 (patch) | |
tree | 973be04a42690664df75d84a2430aa94b9df20a7 /core/src/main | |
parent | 76e3ec143e12f36d0fe8e6aaec37f7e26cea9a39 (diff) | |
download | dokka-4e24de5649be49a186e67000b5cd0ddc415d0366.tar.gz dokka-4e24de5649be49a186e67000b5cd0ddc415d0366.tar.bz2 dokka-4e24de5649be49a186e67000b5cd0ddc415d0366.zip |
Fix lost members of group nodes
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/Generation/DocumentationMerger.kt | 2 |
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) |