aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
}