dokka icon indicating copy to clipboard operation
dokka copied to clipboard

[K2] Different PageId for the same code in K1 and K2

Open atyrin opened this issue 1 year ago • 4 comments

So far, I have two samples for the change with no visible side effects.

For nested classes

class Parent{
    class Nested
}

K1: pageids="module::/Parent.Nested/Nested/#/PointingToDeclaration//-1486420497" K2: pageids="module::/Parent.Nested/Parent.Nested/#/PointingToDeclaration//-1486420497"

For vararg arguments

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

  • Dokka version: 1.9.20

Parent: https://github.com/Kotlin/dokka/issues/3328

atyrin avatar Nov 30 '23 11:11 atyrin