aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/transformers/documentables
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-03-10 14:18:11 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-11 10:26:11 +0100
commit35851c4f00bde0b66ce1d9ae8ca02bab761df819 (patch)
treea10cfc7a71907a957e97dc498344ab324f70cc54 /plugins/base/src/main/kotlin/transformers/documentables
parent35f56d1a1f38b6bc357e171dfa188962038a4a46 (diff)
downloaddokka-35851c4f00bde0b66ce1d9ae8ca02bab761df819.tar.gz
dokka-35851c4f00bde0b66ce1d9ae8ca02bab761df819.tar.bz2
dokka-35851c4f00bde0b66ce1d9ae8ca02bab761df819.zip
Remove nested packages from packages
Diffstat (limited to 'plugins/base/src/main/kotlin/transformers/documentables')
-rw-r--r--plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt b/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt
index 8ae2065b..654238a8 100644
--- a/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt
+++ b/plugins/base/src/main/kotlin/transformers/documentables/DefaultDocumentableMerger.kt
@@ -97,7 +97,6 @@ fun Package.mergeWith(other: Package): Package = copy(
functions = mergeExpectActual(functions + other.functions, Function::mergeWith) { copy(platformData = it) },
properties = mergeExpectActual(properties + other.properties, Property::mergeWith) { copy(platformData = it) },
classlikes = mergeExpectActual(classlikes + other.classlikes, Classlike::mergeWith, Classlike::setPlatformData),
- packages = merge(packages + other.packages, Package::mergeWith),
documentation = documentation.mergeWith(other.documentation),
platformData = (platformData + other.platformData).distinct()
).mergeExtras(this, other)