diff options
author | aleksZubakov <aleks.zubakov@gmail.com> | 2018-10-01 20:07:54 +0300 |
---|---|---|
committer | aleksZubakov <aleks.zubakov@gmail.com> | 2018-10-01 20:07:54 +0300 |
commit | f4ffd392a5673980c6c1bf77ed23efa53c10a628 (patch) | |
tree | 65d930240a596cb0312f441485b1c537f5ce1180 /core/src/main/kotlin/Generation/DocumentationMerger.kt | |
parent | c3b0ede82b925517e4c4859388ae4c7129d29a0d (diff) | |
download | dokka-f4ffd392a5673980c6c1bf77ed23efa53c10a628.tar.gz dokka-f4ffd392a5673980c6c1bf77ed23efa53c10a628.tar.bz2 dokka-f4ffd392a5673980c6c1bf77ed23efa53c10a628.zip |
Eliminate tags shuffle
Diffstat (limited to 'core/src/main/kotlin/Generation/DocumentationMerger.kt')
-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 f6280fb9..e5186e72 100644 --- a/core/src/main/kotlin/Generation/DocumentationMerger.kt +++ b/core/src/main/kotlin/Generation/DocumentationMerger.kt @@ -130,7 +130,7 @@ class DocumentationMerger( val nodeWithMaxPlatforms = nodes.maxBy { it.platforms.size }!! val maxPlatforms = nodeWithMaxPlatforms.platforms.toSet() val notContained = nodes.filterNot { maxPlatforms.containsAll(it.platforms) } - val reducedDuplicates = notContained + nodeWithMaxPlatforms + val reducedDuplicates = listOf(nodeWithMaxPlatforms) + notContained if (!reducedDuplicates.containsAll(nodes)) { return mergeMembersWithEqualSignature(signature, reducedDuplicates) } |