aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-08-13 16:24:24 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-17 11:55:35 +0200
commit43450355b04f52d64da5b29cff3f8fca87445f5b (patch)
treec88b657c860ed1793c1a0b0a267401bc5b03474c /plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
parent785d741790f653d5c260f59c9d8875bbfde2dc07 (diff)
downloaddokka-43450355b04f52d64da5b29cff3f8fca87445f5b.tar.gz
dokka-43450355b04f52d64da5b29cff3f8fca87445f5b.tar.bz2
dokka-43450355b04f52d64da5b29cff3f8fca87445f5b.zip
Add tests and add projections to javadoc
Diffstat (limited to 'plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt')
-rw-r--r--plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
index bed8386d..16598acd 100644
--- a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
+++ b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
@@ -186,10 +186,8 @@ class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLog
c.supertypes.filter { it.key == sourceSet }.map { (s, typeConstructors) ->
list(typeConstructors, prefix = " : ", sourceSets = setOf(s)) {
link(it.typeConstructor.dri.sureClassNames, it.typeConstructor.dri, sourceSets = setOf(s))
- if ( it.typeConstructor.projections.isNotEmpty() ) {
- list(it.typeConstructor.projections, prefix = "<", suffix = "> ") {
- signatureForProjection(it)
- }
+ list(it.typeConstructor.projections, prefix = "<", suffix = "> ") {
+ signatureForProjection(it)
}
}
}