diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-15 19:03:39 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-15 19:03:39 +0300 |
commit | 15b408bb59546a65a9a4f3f47067b4fa174702be (patch) | |
tree | 5d71a406f4d14daa390aba59594c8ac12fd62c32 /core/src/main/kotlin/Kotlin | |
parent | 712bb8ba9b146c769b84503e332fc449ff942141 (diff) | |
download | dokka-15b408bb59546a65a9a4f3f47067b4fa174702be.tar.gz dokka-15b408bb59546a65a9a4f3f47067b4fa174702be.tar.bz2 dokka-15b408bb59546a65a9a4f3f47067b4fa174702be.zip |
Fix sinceKotlin updating & default setting
Diffstat (limited to 'core/src/main/kotlin/Kotlin')
-rw-r--r-- | core/src/main/kotlin/Kotlin/DocumentationBuilder.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt index 3fb22589..205b44bd 100644 --- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt +++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt @@ -290,7 +290,9 @@ class DocumentationBuilder } fun DocumentationNode.appendDefaultSinceKotlin() { - sinceKotlin = passConfiguration.sinceKotlin + if (sinceKotlin == null) { + sinceKotlin = passConfiguration.sinceKotlin + } } fun DocumentationNode.appendModifiers(descriptor: DeclarationDescriptor) { |