Skip to content

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

@atyrin

Description

@atyrin
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: #3328

Metadata

Metadata

Assignees

Labels

bugtopic: K2Issues / PRs that are related to the K2 migration. See #2888

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions