Skip to content

[K2] Generated getter for property in kotlin-as-java doesn't inherit kdoc description #3369

@atyrin

Description

@atyrin
/**
 * @property propertyWithKDoc some prop
 */
class CrossLinksSource(){
    val propertyWithKDoc: Int = 0
}

With kotlin-as-java plugin the generated getter doesn't get the description.

image

In K1 it worked correctly:

image

Installation

  • Dokka version: 1.9.20

Parent: #3328
Relates: #3367

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplugin: kotlin-as-javaAn issue/PR related to Dokka's kotlin-as-java plugintopic: K2Issues / PRs that are related to the K2 migration. See #2888

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions