dokka icon indicating copy to clipboard operation
dokka copied to clipboard

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

Open atyrin opened this issue 1 year ago • 4 comments

/**
 * @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

atyrin avatar Nov 15 '23 15:11 atyrin