diff options
author | Szymon Świstun <sswistun@virtuslab.com> | 2020-02-28 17:00:42 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-03-04 16:58:03 +0100 |
commit | 77702901cf9255da9a1390b4f01f986da78e58b6 (patch) | |
tree | e37ff64d708cf056449e73ba38eccda4fa1a24ef | |
parent | be35f8628fbbfe3cc248f6c504a664a77d37c8e7 (diff) | |
download | dokka-77702901cf9255da9a1390b4f01f986da78e58b6.tar.gz dokka-77702901cf9255da9a1390b4f01f986da78e58b6.tar.bz2 dokka-77702901cf9255da9a1390b4f01f986da78e58b6.zip |
fixed npe during stdlib generation
-rw-r--r-- | plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt index ad28a4bc..117dd552 100644 --- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt +++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt @@ -217,8 +217,8 @@ open class DokkaDescriptorVisitor( // TODO: close this class and make it private }, sources = actual, getter = descriptor.accessors.filterIsInstance<PropertyGetterDescriptor>().singleOrNull()?.let { - visitPropertyAccessorDescriptor(it, descriptor, dri) - }!!, + visitPropertyAccessorDescriptor(it, descriptor, dri) + }, setter = descriptor.accessors.filterIsInstance<PropertySetterDescriptor>().singleOrNull()?.let { visitPropertyAccessorDescriptor(it, descriptor, dri) }, |