aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r--plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
index c05dab3c..4868d91e 100644
--- a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
+++ b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
@@ -171,13 +171,15 @@ class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLog
text(".")
}
link(f.name, f.dri)
- list(f.parameters, "(", ")") {
+ text("(")
+ list(f.parameters) {
annotationsInline(it)
text(it.modifiers().toSignatureString())
text(it.name!!)
text(": ")
signatureForProjection(it.type)
}
+ text(")")
if (f.documentReturnType()) {
text(": ")
signatureForProjection(f.type)