diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-01 19:40:39 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-01 19:40:39 +0200 |
commit | facb7efb22c02696bae6b95e1c4b67dc9512a731 (patch) | |
tree | eb9f02a80485cc6c71c141c18a00e098672ef79d /src | |
parent | e455a0dd6af736e46cf83a893f2290aa9440ca71 (diff) | |
download | dokka-facb7efb22c02696bae6b95e1c4b67dc9512a731.tar.gz dokka-facb7efb22c02696bae6b95e1c4b67dc9512a731.tar.bz2 dokka-facb7efb22c02696bae6b95e1c4b67dc9512a731.zip |
update to Kotlin 0.15.46
Diffstat (limited to 'src')
-rw-r--r-- | src/Kotlin/DocumentationBuilder.kt | 3 | ||||
-rw-r--r-- | src/Model/Content.kt | 3 |
2 files changed, 1 insertions, 5 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) } diff --git a/src/Model/Content.kt b/src/Model/Content.kt index 709dff2b..38a42afc 100644 --- a/src/Model/Content.kt +++ b/src/Model/Content.kt @@ -166,9 +166,6 @@ public open class MutableContent() : Content() { return "<empty>" return (listOf(summary, description) + sections).joinToString() } - - val isEmpty: Boolean - get() = sections.none() } fun javadocSectionDisplayName(sectionName: String?): String? = |