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] Kdoc inherited from super class has references to super class methods not to overriden one #3697

Closed
atyrin opened this issue Jul 17, 2024 · 2 comments
Labels
bug kdoc-spec An issue that requires clarification from the KDoc spec's perspective topic: K2 Issues / PRs that are related to the K2 migration. See #2888

Comments

@atyrin
Copy link
Contributor

atyrin commented Jul 17, 2024

abstract class Parent {
    abstract fun foo()

    /**
     * Ref [foo]
     */
    abstract fun reference()
}

class Child : Parent() {
    override fun foo() {}

    override fun reference() {}
}

On Child page in K2 link to foo will open foo page of Parent class. In K1 it was link to foo page of Child class.

Installation

  • Dokka version: 2.0.0
@atyrin atyrin added bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888 labels Jul 17, 2024
@vmishenev
Copy link
Member

Related issue: #3639

@vmishenev vmishenev added the kdoc-spec An issue that requires clarification from the KDoc spec's perspective label Jul 19, 2024
@vmishenev
Copy link
Member

duplicated by #3639

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kdoc-spec An issue that requires clarification from the KDoc spec's perspective topic: K2 Issues / PRs that are related to the K2 migration. See #2888
Projects
None yet
Development

No branches or pull requests

2 participants