diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2023-10-24 19:59:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 19:59:44 +0300 |
commit | 820e3b7cd449ba06f365eddbf9fe82cbfecc411e (patch) | |
tree | 047cdd852e394d924b2b58b0c0da61d54f0446ee /subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin | |
parent | b28120111d98cc9ce70f31266cc81a9ae85015f9 (diff) | |
download | dokka-820e3b7cd449ba06f365eddbf9fe82cbfecc411e.tar.gz dokka-820e3b7cd449ba06f365eddbf9fe82cbfecc411e.tar.bz2 dokka-820e3b7cd449ba06f365eddbf9fe82cbfecc411e.zip |
Opt-in `ExperimentalCoroutinesApi` for `newSingleThreadContext` (#3247)
It was marked experimental in a new version of coroutines https://github.com/Kotlin/kotlinx.coroutines/commit/042720589c6f438f77d84254bd2dceb569f0184, after 5a6fab535b68916a28d922d5d7a294fa432b7d6b
Diffstat (limited to 'subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin')
-rw-r--r-- | subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/translator/DefaultDescriptorToDocumentableTranslator.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/translator/DefaultDescriptorToDocumentableTranslator.kt b/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/translator/DefaultDescriptorToDocumentableTranslator.kt index f20514cf..4d561189 100644 --- a/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/translator/DefaultDescriptorToDocumentableTranslator.kt +++ b/subprojects/analysis-kotlin-descriptors/compiler/src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/translator/DefaultDescriptorToDocumentableTranslator.kt @@ -124,7 +124,7 @@ internal class DefaultDescriptorToDocumentableTranslator( /** * Implementation note: it runs in a separated single thread due to existing support of coroutines (see #2936) */ - @OptIn(DelicateCoroutinesApi::class) + @OptIn(DelicateCoroutinesApi::class, ExperimentalCoroutinesApi::class) override fun translateClassDescriptor(descriptor: ClassDescriptor, sourceSet: DokkaSourceSet): DClasslike { val driInfo = DRI.from(descriptor.parents.first()).withEmptyInfo() |