Skip to content

[K2] Non-existent parameter from KDoc doesn't appear on the implicit primary constructor page #3348

@atyrin

Description

@atyrin
/**
 * @param [paramInt] integer param
 * @param [paramStr] string param
 */
class ClassKDocLocation {
}

In K1, the constructor page looks like this:

image

For K2:
image


But if I change the class signature to:

/**
 * @param [paramInt] integer param
 * @param [paramStr] string param
 */
class ClassKDocLocation() {
}

the K2 output will be the same.

Installation

  • Dokka version: 1.9.20

Parent: #3328

Metadata

Metadata

Assignees

Labels

bugkdoc-specAn issue that requires clarification from the KDoc spec's perspectivetopic: K2Issues / PRs that are related to the K2 migration. See #2888

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions