dokka icon indicating copy to clipboard operation
dokka copied to clipboard

`Unit` not converted to `void` in interfaces

Open Seggan opened this issue 3 months ago • 0 comments

Using the kotlin-as-java-plugin, the following code:

interface Test {
    fun foo()
}

Generates the following output:

Image

Despite the code being compiled into void foo(), the return type shows up as Unit

Seggan avatar Sep 22 '25 15:09 Seggan