Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.45k stars 410 forks source link

2.0.0-Beta: Illegal use of flexible type deserializer. #3860

Open colinrtwhite opened 1 month ago

colinrtwhite commented 1 month ago

Describe the bug

I'm getting the following exception in my project after updating to 2.0.0-Beta and running ./gradlew dokkaGenerate:

Execution failed for task ':coil-core:dokkaGenerateModuleHtml'.
> A failure occurred while executing org.jetbrains.dokka.gradle.workers.DokkaGeneratorWorker
   > Illegal use of flexible type deserializer.

Expected behaviour The build to finish successfully.

To Reproduce Check out this branch and run ./gradlew dokkaGenerate.

Dokka configuration None: I removed the Dokka configuration on that branch to reduce confounding factors.

Installation

Additional context I found a similar report from an older Dokka version, however I don’t use the dynamic JS type in my project (maybe a dependency does?).

vmishenev commented 1 month ago

You can track the issue KT-71784.