aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-05-08 01:44:16 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-07-14 23:57:12 +0300
commitb46ec0a7ccfb3a7347fd5d3717cc4b3aedf75429 (patch)
treed35393bfecf7a2e15bd17f959e81ed2a161fcef9 /core/src/main/kotlin
parentf301316151dc15b67d926423021abc5e3313aa2a (diff)
downloaddokka-b46ec0a7ccfb3a7347fd5d3717cc4b3aedf75429.tar.gz
dokka-b46ec0a7ccfb3a7347fd5d3717cc4b3aedf75429.tar.bz2
dokka-b46ec0a7ccfb3a7347fd5d3717cc4b3aedf75429.zip
Fix nullability detection
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
index c165045d..e6a75277 100644
--- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
+++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
@@ -244,7 +244,7 @@ class DocumentationBuilder
}
if (kotlinType.isNullabilityFlexible()) {
node.appendTextNode("!", NodeKind.NullabilityModifier)
- } else if (kotlinType.isNullable()) {
+ } else if (kotlinType.isMarkedNullable) {
node.appendTextNode("?", NodeKind.NullabilityModifier)
}
if (classifierDescriptor != null) {