dokka icon indicating copy to clipboard operation
dokka copied to clipboard

[K2] Missed source link for generated getter/setter in kotlin-as-java output

Open atyrin opened this issue 1 year ago • 2 comments

class DefValue(val str: String = "defString")

Setup source linking and apply kotlin-as-java Dokka plugin.

Output in K1 for getter method will have source link image

and for K2 it missed:

image

Installation

  • Dokka version: 1.9.20

Parent: #3328

atyrin avatar Nov 23 '23 12:11 atyrin

Might be related to #3128

atyrin avatar Nov 23 '23 12:11 atyrin

The bug is very likely on our side, as we probably try to find the source code of the synthetic getters and setters, instead of using the property's PSI.

Is blocking:

  • Testing: no
  • Beta: no (but it's relatively easy to fix)

IgnatBeresnev avatar Dec 08 '23 16:12 IgnatBeresnev