aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-02-10 14:59:33 +0100
committerGitHub <noreply@github.com>2023-02-10 14:59:33 +0100
commitf09b149b5bf6834609dec1eb70789539c5e61896 (patch)
treeeb2b31b4a5c97c6f61bc00b374a96efa6b1df7b2 /plugins/base/src/main/kotlin/translators
parenta5a20cdd23db75b65cbf784854c3f26e6584953b (diff)
downloaddokka-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.kt1
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)
}