diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-09-09 15:01:28 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-09-10 13:11:02 +0200 |
commit | 3845e64c04fa5a7fc51370bbc55aa694697919cf (patch) | |
tree | 9e11c496e47659bc448eeb31752014e8f1fa77ea /plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt | |
parent | 3792ef312ef347ef3300690e71c1cbf963a175e3 (diff) | |
download | dokka-3845e64c04fa5a7fc51370bbc55aa694697919cf.tar.gz dokka-3845e64c04fa5a7fc51370bbc55aa694697919cf.tar.bz2 dokka-3845e64c04fa5a7fc51370bbc55aa694697919cf.zip |
Fix test
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt')
-rw-r--r-- | plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt | 2 |
1 files changed, 1 insertions, 1 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 38d904e4..5a9f0855 100644 --- a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt +++ b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt @@ -175,7 +175,7 @@ internal fun DClass.asJava(): DClass = copy( private fun DTypeParameter.asJava(): DTypeParameter = copy( variantTypeParameter = variantTypeParameter.withDri(dri.possiblyAsJava()), - bounds = bounds.map { it.asJava() as Bound } + bounds = bounds.map { it.asJava() } ) private fun Projection.asJava(): Projection = when(this) { |