Open atyrin opened 2 months ago
Ticket for Analysis API: https://youtrack.jetbrains.com/issue/KT-69736/K2-IDE-False-positive-resolution-from-KDoc-for-value
The general case:
fun getProperty() = 0
/**
* [property] is resolved in K2, but - not in K1
*/
fun usage() = 0
Related issue: https://github.com/Kotlin/dokka/issues/3586
value
in the function body is unresolved in IDE. K2:value
in KDoc is resolved and refers tokotlin-stdlib-2.0.0-sources.jar!/commonMain/kotlin/util/Lazy.kt:44
for IDE and to https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/ for DokkaK1:
value
in kdoc is unresolvedInstallation