Open
Description
Describe the bug
If a classifier extends a functional type, rendered documentation uses FunctionX
as a super type name. However, such types do not exists (the closes thing we have is kotlin.jvm.functions.Function<N>
) and the link from such a supertype leads to a non-existing page.
Expected behaviour
A function supertype should be rendered as a functional type, the same way functional parameters are rendered.
Screenshots
Check https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-property0/ for an example.
The interface is defined as public expect interface KProperty0<out V> : KProperty<V>, () -> V
, but rendered as:
And the Function0<V>
link leads nowhere.
Instead, I would expect something like:
Installation
- Dokka version: 2.0.0