Constructor-like functions are lost from functions list if they have the same decapitalized analog #2950
Labels
awaiting response
An issue/PR that cannot be completed without additional information or a discussion
bug
feedback: Kotlin libs
Feedback from Kotlin's internal libraries
Describe the bug
Sounds a bit hard to understand, so I'll show the example. In kotlinx.serialization, there is:
interface SerialDescriptor
— https://github.com/Kotlin/kotlinx.serialization/blob/60c632c970d7da02151fd7c920f40ebc269c0f29/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptor.kt#L146public fun SerialDescriptor
— https://github.com/Kotlin/kotlinx.serialization/blob/ccf9c2c52cd9df10e3782f9f8a02ff4172c4b868/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptors.kt#L116public inline fun <reified T> serialDescriptor()
(2 overloads) — https://github.com/Kotlin/kotlinx.serialization/blob/ccf9c2c52cd9df10e3782f9f8a02ff4172c4b868/core/commonMain/src/kotlinx/serialization/descriptors/SerialDescriptors.kt#L153However, on the https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization.descriptors/ page we can see only
interface SerialDescriptor
on Types tab, and Functions tab with lowercase names (despite function itself in the table named asSerialDescriptor
:There is, however, page for
fun SerialDescriptor
: https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization.descriptors/-serial-descriptor.htmland it is clickable from sidebar:
Expected behaviour
fun SerialDescriptor
is also listed on the Functions tabInstallation
Additional context
Website is build on teamcity
The text was updated successfully, but these errors were encountered: