Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K2] Methods implemented by delegation miss the KDoc #3676

Closed
atyrin opened this issue Jul 5, 2024 · 0 comments · Fixed by #3708
Closed

[K2] Methods implemented by delegation miss the KDoc #3676

atyrin opened this issue Jul 5, 2024 · 0 comments · Fixed by #3708
Assignees
Labels
bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888

Comments

@atyrin
Copy link
Contributor

atyrin commented Jul 5, 2024

The ticket is the same as #3384 but only about KDoc

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 kdoc from the interface
image


In K2 it is missed on the class page:
image

  • Dokka version: 2.0.0
@atyrin atyrin added bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888 labels Jul 5, 2024
@vmishenev vmishenev self-assigned this Jul 17, 2024
@vmishenev vmishenev linked a pull request Jul 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants