diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-03-10 14:18:11 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-03-11 10:26:11 +0100 |
commit | 35851c4f00bde0b66ce1d9ae8ca02bab761df819 (patch) | |
tree | a10cfc7a71907a957e97dc498344ab324f70cc54 /plugins/kotlin-as-java/src/main/kotlin/converters | |
parent | 35f56d1a1f38b6bc357e171dfa188962038a4a46 (diff) | |
download | dokka-35851c4f00bde0b66ce1d9ae8ca02bab761df819.tar.gz dokka-35851c4f00bde0b66ce1d9ae8ca02bab761df819.tar.bz2 dokka-35851c4f00bde0b66ce1d9ae8ca02bab761df819.zip |
Remove nested packages from packages
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/converters')
-rw-r--r-- | plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt index 4bf75101..2d73786b 100644 --- a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt +++ b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt @@ -56,8 +56,7 @@ internal fun Package.asJava(): Package { return copy( functions = emptyList(), properties = emptyList(), - classlikes = classlikes.map { it.asJava() } + syntheticClasses, - packages = packages.map { it.asJava() } + classlikes = classlikes.map { it.asJava() } + syntheticClasses ) } |