Skip to content

Conversation

vmishenev
Copy link
Contributor

@vmishenev vmishenev commented Feb 18, 2024

#3452
#3379 (the tests in #3500)

@vmishenev vmishenev changed the title [K2] Fix missed @constructor documentation for primary constructors [K2] Fix missing @constructor documentation for primary constructors Feb 18, 2024
@vmishenev vmishenev marked this pull request as ready for review February 19, 2024 19:23
@@ -80,8 +77,26 @@ internal data class KDocContent(
)

internal fun KtAnalysisSession.findKDoc(symbol: KtSymbol): KDocContent? {
// Dokka's HACK: primary constructors can have the [KtSymbolOrigin.SOURCE_MEMBER_GENERATED] origin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please expand on what it means in the comment? I understand that it might have the SOURCE_MEMBER_GENERATED, but I don't understand what it implies, i.e what sorts of problems it causes or why it's different / needs special handling / what the end result is?

@vmishenev vmishenev force-pushed the vmishenev/3452-fix-missed-doc-for-primary-constructors branch from 1cfd012 to fd539a7 Compare February 23, 2024 19:13
@vmishenev vmishenev force-pushed the vmishenev/3452-fix-missed-doc-for-primary-constructors branch from fd539a7 to 95f7125 Compare February 25, 2024 22:38
@vmishenev vmishenev merged commit d7eba91 into master Feb 26, 2024
@vmishenev vmishenev deleted the vmishenev/3452-fix-missed-doc-for-primary-constructors branch February 26, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants