dokka icon indicating copy to clipboard operation
dokka copied to clipboard

[K2] Methods implemented by delegation miss the `override` keyword and KDoc

Open atyrin opened this issue 1 year ago • 3 comments

interface CookieJar {
    /**
     * Saves cookies
     */
    fun saveFromResponse(url: String)
}

class CookieJarImpl() : CookieJar {
    override fun saveFromResponse(url: String) {}
}

class JavaNetCookieJar private constructor(
    delegate: CookieJarImpl,
) : CookieJar by delegate

With K1 the JavaNetCookieJar got override keyword and kdoc from the interface image


In K2 both are missed: image

Installation

  • Dokka version: 1.9.20

Parent: https://github.com/Kotlin/dokka/issues/3328

atyrin avatar Nov 29 '23 14:11 atyrin