Skip to content

Unresolved kdoc reference to companion block property of parent interface #4555

Description

@atyrin

What is happening? What should have happened instead?

A reference in kdoc of a class implementing interface to a property/function in companion block of the interface is unresolved. If the parent is class then the reference will be resolved

Reproducer

interface Parent{
    companion {
        const val interfaceCompanionProperty = ""
    }
}

/**
 * [interfaceCompanionProperty] --- unresolved
 */
open class Child: Parent {}

Dokka version

2.3.0-dev-431

Kotlin Gradle Plugin (KGP) version

2.4.20-Beta1

Android Gradle Plugin (AGP) version (if applicable)

No response

Build tool

Gradle

Project type

  • Kotlin Multiplatform (KMP)
  • Android
  • JVM
  • Other

Anything else? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions