aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-02 14:43:24 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-02 14:43:24 +0100
commit31692499975f071dce028c8912d3a80ea6019aca (patch)
tree8503dfa4430cd8cd62bf81c16459748fda36f486
parent7170d6337fc25b34adbb904432a116a0cca41cad (diff)
downloaddokka-31692499975f071dce028c8912d3a80ea6019aca.tar.gz
dokka-31692499975f071dce028c8912d3a80ea6019aca.tar.bz2
dokka-31692499975f071dce028c8912d3a80ea6019aca.zip
linkify type names in type parameter constraints
-rw-r--r--src/Kotlin/DocumentationBuilder.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index e09d35bd..14ba94be 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -494,13 +494,13 @@ class DocumentationBuilder(val session: ResolveSession,
for (constraint in getUpperBounds()) {
if (constraint == builtIns.getDefaultBound())
continue
- node.appendTextNode(constraint.toString(), DocumentationNode.Kind.UpperBound)
+ node.appendType(constraint, Kind.UpperBound)
}
for (constraint in getLowerBounds()) {
if (KotlinBuiltIns.isNothing(constraint))
continue
- node.appendTextNode(constraint.toString(), DocumentationNode.Kind.LowerBound)
+ node.appendType(constraint, Kind.LowerBound)
}
return node
}