diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-19 10:58:18 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-19 10:58:18 +0100 |
commit | 67c7a94c348d4b944bb430a8ceed6537b8d22e4a (patch) | |
tree | 966043e036f39115d93f4d2d378df79c52a7b238 | |
parent | 673bfdd186369856ae9bf8f82ead71079ce91996 (diff) | |
download | dokka-67c7a94c348d4b944bb430a8ceed6537b8d22e4a.tar.gz dokka-67c7a94c348d4b944bb430a8ceed6537b8d22e4a.tar.bz2 dokka-67c7a94c348d4b944bb430a8ceed6537b8d22e4a.zip |
restore lost space after type parameters of a property
-rw-r--r-- | src/Kotlin/KotlinLanguageService.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt index d046b650..8626e7e1 100644 --- a/src/Kotlin/KotlinLanguageService.kt +++ b/src/Kotlin/KotlinLanguageService.kt @@ -289,6 +289,9 @@ class KotlinLanguageService : LanguageService { else -> throw IllegalArgumentException("Node $node is not a property") } renderTypeParametersForNode(node) + if (node.details(DocumentationNode.Kind.TypeParameter).any()) { + text(" ") + } val receiver = node.details(DocumentationNode.Kind.Receiver).singleOrNull() if (receiver != null) { renderType(receiver.detail(DocumentationNode.Kind.Type)) |