diff options
author | Dmitry Jemerov <intelliyole@gmail.com> | 2015-07-09 17:45:52 +0200 |
---|---|---|
committer | Dmitry Jemerov <intelliyole@gmail.com> | 2015-07-09 17:45:52 +0200 |
commit | 68caff40cfce97bba23f505ec7db33a0d406e709 (patch) | |
tree | fa09c8bb187a46a0a1eacd2d722ab6209935e24e /src/Kotlin/ContentBuilder.kt | |
parent | 3921ac60ee89bbd02444f85e8b8b52c7f77c6e27 (diff) | |
parent | 2f3bd214b78c99d06e4dac9e7ff474fd8f0d7ec5 (diff) | |
download | dokka-68caff40cfce97bba23f505ec7db33a0d406e709.tar.gz dokka-68caff40cfce97bba23f505ec7db33a0d406e709.tar.bz2 dokka-68caff40cfce97bba23f505ec7db33a0d406e709.zip |
Merge pull request #26 from bintree/master
Fix project after types enhancement from annotations
Diffstat (limited to 'src/Kotlin/ContentBuilder.kt')
-rw-r--r-- | src/Kotlin/ContentBuilder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/ContentBuilder.kt b/src/Kotlin/ContentBuilder.kt index 2bf960a6..273009ab 100644 --- a/src/Kotlin/ContentBuilder.kt +++ b/src/Kotlin/ContentBuilder.kt @@ -139,7 +139,7 @@ fun DocumentationBuilder.functionBody(descriptor: DeclarationDescriptor, functio val bodyExpression = psiElement.getBodyExpression() when (bodyExpression) { is JetBlockExpression -> bodyExpression.getText().removeSurrounding("{", "}") - else -> bodyExpression.getText() + else -> bodyExpression!!.getText() } } else -> psiElement.getText() |