Hello! I'm trying to export Kdoc comments to iOS s...
# compiler
r
Hello! I'm trying to export Kdoc comments to iOS side with compiler argument
-Xexport-kdoc
in multiplatform project, but I get strange output for
data class
. Details in 🧵
I have basic data class:
Copy code
/**
 * This is test data class to test the output of exported Kdocs to iOS side
 */
data class TestKdocExportHolder(
    /**
     * Basic text field
     */
    val text: String,
    /**
     * Basic integer field
     */
    val number: Int,
)
And the output on ios side:
What seems strange to me is that the
Basic text field
and
Basic integer field
comments do not correlate to corresponding property definitions.
You can check it in public repo in branch
feature/export-kdoc
here
d
Please report an issue to kotl.in/issue
r
I've created an issue here
👍 1