diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-02-10 14:59:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 14:59:33 +0100 |
commit | f09b149b5bf6834609dec1eb70789539c5e61896 (patch) | |
tree | eb2b31b4a5c97c6f61bc00b374a96efa6b1df7b2 /plugins/base/src/main/kotlin/translators | |
parent | a5a20cdd23db75b65cbf784854c3f26e6584953b (diff) | |
download | dokka-f09b149b5bf6834609dec1eb70789539c5e61896.tar.gz dokka-f09b149b5bf6834609dec1eb70789539c5e61896.tar.bz2 dokka-f09b149b5bf6834609dec1eb70789539c5e61896.zip |
Update Kotlin to 1.8.10 (#2797)
Diffstat (limited to 'plugins/base/src/main/kotlin/translators')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt index 9de85eb0..41ab2039 100644 --- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt +++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt @@ -310,6 +310,7 @@ private class DokkaDescriptorVisitor( // synthetic values() and valueOf() functions are not present among average class functions val enumSyntheticFunctions = staticScopeForKotlinEnum.getContributedDescriptors { true } + .filterIsInstance<FunctionDescriptor>() return descriptorsWithKind.copy(functions = descriptorsWithKind.functions + enumSyntheticFunctions) } |