-
Notifications
You must be signed in to change notification settings - Fork 487
Description
Describe the bug
On current moment in Dokka we show enum signature as enum EnumName, but in source code we have enum class EnumName.
Expected behaviour
Render enum signature as enum class EnumName
Example
Dokka HTML: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-start/
Source code: https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/common/src/CoroutineStart.kt#L20
For reference, current stdlib documentation shows enum class: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.annotation/-annotation-retention/
Installation
- Dokka version: 1.9.10/1.9.20
Additional context
Enums in Java are declared as enum EnumName - same as how current Dokka renders enums signatures.
Code for signature building located in KotlinSignatureProvider