https://kotlinlang.org logo
#random
Title
# random
e

elect

10/06/2022, 9:21 AM
kdoc method link cant resolve methods with same name but different signature? What a bummer..
s

Sam

10/06/2022, 9:29 AM
Yeah, it’s called out explicitly in the docs 😞
Note that KDoc does not have any syntax for resolving overloaded members in links. Since the Kotlin documentation generation tool puts the documentation for all overloads of a function on the same page, identifying a specific overloaded function is not required for the link to work.
https://kotlinlang.org/docs/kotlin-doc.html#links-to-elements
😔 1
Which is fine for people who are actually using the Kotlin documentation generation tool, but no help at all for the vast majority who are consuming kdoc comments in the IDE
☝️ 1
8 Views