Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.34k stars 396 forks source link

[K2] Different DRI for varargs #3558

Open IgnatBeresnev opened 3 months ago

IgnatBeresnev commented 3 months ago

Context

This issue was extracted from #3388 as a separate case, because it is tricker to fix due to both Dokka and Analysis API not handling varargs very well (see #2881).

Reproducer

fun withVararg(i: Int, vararg s: String){}

K1: pageids="module:://withVararg/#kotlin.Int#kotlin.Array[kotlin.String]/PointingToDeclaration//-1486420497" K2: pageids="module:://withVararg/#kotlin.Int#kotlin.String/PointingToDeclaration//-1486420497"

Installation

vmishenev commented 1 month ago

It is blocked by https://github.com/Kotlin/dokka/issues/2881