dokka icon indicating copy to clipboard operation
dokka copied to clipboard

[K2] Inconsistent KDoc link into inhertited documentation

Open vmishenev opened this issue 8 months ago • 0 comments

    interface A {
        /**
         * [a]
         */
        fun foo(a: Int)
    }

    class B : A {
        override fun foo(a: Int) {
        }
    }

In the documentation of B.foo, the reference [a] leads to a parameter of A.foo.

In IDE and Dokka K1, it leads to a parameter of B.foo.

Also, there is the unit test

vmishenev avatar May 31 '24 11:05 vmishenev