Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K2] Inconsistent resolution of KDoc links to extensions #3632

Open
vmishenev opened this issue May 27, 2024 · 0 comments
Open

[K2] Inconsistent resolution of KDoc links to extensions #3632

vmishenev opened this issue May 27, 2024 · 0 comments
Labels
bug kdoc-spec An issue that requires clarification from the KDoc spec's perspective topic: K2 Issues / PRs that are related to the K2 migration. See #2888

Comments

@vmishenev
Copy link
Member

vmishenev commented May 27, 2024

f lead to the the first occurrence of exstension:

open class classA
class classB : classA()


fun classA.f() = 0
fun classB.f() = 0

/**
 * [f] leads to classA.f()
 */ 
fun classA.dddd() = 0

vs

open class classA
class classB : classA()

fun classB.f() = 0
fun classA.f() = 0


/**
 * [f] leads to classB.f()
 */
fun classA.dddd() = 0

In K1, it does not depend.

@vmishenev vmishenev added bug kdoc-spec An issue that requires clarification from the KDoc spec's perspective labels May 27, 2024
@vmishenev vmishenev changed the title Inconsistent resolution of KDoc links to extensions [K2] Inconsistent resolution of KDoc links to extensions May 27, 2024
@vmishenev vmishenev added the topic: K2 Issues / PRs that are related to the K2 migration. See #2888 label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kdoc-spec An issue that requires clarification from the KDoc spec's perspective topic: K2 Issues / PRs that are related to the K2 migration. See #2888
Projects
None yet
Development

No branches or pull requests

1 participant