diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-12-04 15:52:12 +0300 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-12-04 15:52:12 +0300 |
commit | 5d0af0b209c43b9f55ff6c80bbca56bab2e4baea (patch) | |
tree | d0b4f3f126e456084d41d4ccfc3dd6adaaca0c6e /src/Kotlin/DocumentationBuilder.kt | |
parent | 211741602ebd44b2c00f161d0a1f5372ecdbacfc (diff) | |
download | dokka-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.kt | 2 |
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) |