aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/DocumentationBuilder.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-12-04 15:52:12 +0300
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-12-04 15:52:12 +0300
commit5d0af0b209c43b9f55ff6c80bbca56bab2e4baea (patch)
treed0b4f3f126e456084d41d4ccfc3dd6adaaca0c6e /src/Kotlin/DocumentationBuilder.kt
parent211741602ebd44b2c00f161d0a1f5372ecdbacfc (diff)
downloaddokka-5d0af0b209c43b9f55ff6c80bbca56bab2e4baea.tar.gz
dokka-5d0af0b209c43b9f55ff6c80bbca56bab2e4baea.tar.bz2
dokka-5d0af0b209c43b9f55ff6c80bbca56bab2e4baea.zip
Update to changes in compiler (isMarkedNullable)
Diffstat (limited to 'src/Kotlin/DocumentationBuilder.kt')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index 382d338f..0acff1dc 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -94,7 +94,7 @@ class DocumentationBuilder(val session: ResolveSession, val options: Documentati
return
val classifierDescriptor = jetType.getConstructor().getDeclarationDescriptor()
val name = when (classifierDescriptor) {
- is Named -> prefix + classifierDescriptor.getName().asString() + if (jetType.isNullable()) "?" else ""
+ is Named -> prefix + classifierDescriptor.getName().asString() + if (jetType.isMarkedNullable()) "?" else ""
else -> "<anonymous>"
}
val node = DocumentationNode(name, Content.Empty, kind)