aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-06-23 12:40:39 +0200
committerPaweł Marks <pmarks@virtuslab.com>2020-06-25 20:31:42 +0200
commit72069ee58cf17e41183e9fbc8f278acc4e9a1699 (patch)
tree6f3a1b736d6740e4fbcce94c8af450faf3e6799b /plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt
parent27ff92ac42a58844dd57340f7cada14cea8b5d7f (diff)
downloaddokka-72069ee58cf17e41183e9fbc8f278acc4e9a1699.tar.gz
dokka-72069ee58cf17e41183e9fbc8f278acc4e9a1699.tar.bz2
dokka-72069ee58cf17e41183e9fbc8f278acc4e9a1699.zip
Render extensions
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt
index a58ef114..76e92268 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt
@@ -467,7 +467,7 @@ open class PageContentBuilder(
) =
ContentDivergentInstance(
before,
- divergent!!,
+ divergent ?: throw IllegalStateException("Divergent block needs divergent part"),
after,
DCI(mainDRI, kind),
sourceSets,