aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-26 14:40:02 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-26 14:40:02 +0100
commit86a6db8d277f1cc8240d35f83bb6d2ead3b51e02 (patch)
treec125fe492f739beed72d55512ec8dd222c05295e /src
parentf90ee50fcace48d71b132d6ec7f305138fe01e44 (diff)
downloaddokka-86a6db8d277f1cc8240d35f83bb6d2ead3b51e02.tar.gz
dokka-86a6db8d277f1cc8240d35f83bb6d2ead3b51e02.tar.bz2
dokka-86a6db8d277f1cc8240d35f83bb6d2ead3b51e02.zip
fix formatting of overloads on kotlin website
Diffstat (limited to 'src')
-rw-r--r--src/Formats/StructuredFormatService.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 8d817b19..794b0990 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -214,7 +214,9 @@ public abstract class StructuredFormatService(locationService: LocationService,
formatText(location, signatureAsCode)
}
signatureTexts.subList(0, signatureTexts.size()-1).forEach {
- appendLine(to, it)
+ appendAsSignature(to) {
+ appendLine(to, it)
+ }
}
appendAsSignature(to) {
to.append(signatureTexts.last())