aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-01 19:40:39 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-10-01 19:40:39 +0200
commitfacb7efb22c02696bae6b95e1c4b67dc9512a731 (patch)
treeeb9f02a80485cc6c71c141c18a00e098672ef79d /src/Kotlin
parente455a0dd6af736e46cf83a893f2290aa9440ca71 (diff)
downloaddokka-facb7efb22c02696bae6b95e1c4b67dc9512a731.tar.gz
dokka-facb7efb22c02696bae6b95e1c4b67dc9512a731.tar.bz2
dokka-facb7efb22c02696bae6b95e1c4b67dc9512a731.zip
update to Kotlin 0.15.46
Diffstat (limited to 'src/Kotlin')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index b526e0ed..c45cb9e3 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -678,9 +678,8 @@ class DocumentationBuilder(val resolutionFacade: ResolutionFacade,
node.appendTextNode(prefix, Kind.Modifier)
}
- val builtIns = KotlinBuiltIns.getInstance()
for (constraint in upperBounds) {
- if (constraint == builtIns.defaultBound)
+ if (KotlinBuiltIns.isDefaultBound(constraint))
continue
node.appendType(constraint, Kind.UpperBound)
}