Public actual declarations are not shown in docs if expect is internal #3633
Labels
bug
feedback: Kotlin libs
Feedback from Kotlin's internal libraries
topic: stdlib migration
An issue/PR related to the migration of stdlib's API reference to modern Dokka
Describe the bug
Actualizing an internal expect declaration with a public actual declarations is allowed in KMP (at least for functions, but we use it for classifiers as well in stdlib). However if such an internal expect declaration is introduced, its public actual counterparts are no longer shown in documentation.
Expected behavior
Public actual declarations should continue being rendered for individual platforms as if there's no expect declared.
To Reproduce
Kotlin branch: rr/stdlib/docs-internal-expect-public-actual
Docs build: https://buildserver.labs.intellij.net/buildConfiguration/Kotlin_KotlinDev_LibraryReferenceLatestDocs/509723400?buildTab=artifacts
Example declaration:
kotlin.system.exitProcess
Installation
Context
We need to use internal expects for public declarations for proper K2 stdlib compilation of the code shared between Native and Wasm.
The text was updated successfully, but these errors were encountered: