dokka icon indicating copy to clipboard operation
dokka copied to clipboard

KMP: References is not linked if they are in shared code and there is an intermediate level between them

Open atyrin opened this issue 1 year ago • 1 comments

Create a KMP library with KGP 1.9.20. Declare 2 ios targets. That is required for generating a few layers of shared native source sets

// commonMain
class Dokka

// iosMain
class IosDokka

// iosX64Main

/**
 * Ths fun consume [Dokka] and [IosDokka]
 */
fun consumeDokka(d: Dokka, iosD: IosDokka) {}

References to commonMain will not have a links image

Installation

  • Dokka version: 1.9.20

Related issue for K2: #3377. Probably, it is even a duplicate.

atyrin avatar Nov 28 '23 15:11 atyrin