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] Unresolved KDoc link to two extensions with the same name #3631

Closed
vmishenev opened this issue May 27, 2024 · 2 comments · Fixed by #3947
Closed

[K2] Unresolved KDoc link to two extensions with the same name #3631

vmishenev opened this issue May 27, 2024 · 2 comments · Fixed by #3947
Assignees
Labels
bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888
Milestone

Comments

@vmishenev
Copy link
Contributor

class C
public fun C.ensureActive() {}
/**
 * [C.ensureActive]
 */
class B
/**
 * [C.ensureActive] is unresolved in IDE K2
 */
public fun B.ensureActive() {}

image

At the same time if an extension is renamed, it is resolved
image

@vmishenev vmishenev added bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888 labels May 27, 2024
@vmishenev
Copy link
Contributor Author

vmishenev commented May 27, 2024

One more case:

import kotlin.coroutines.*
class C
fun C.resume() = 0

/**
 * [Continuation.resume] // is unresolved
 */
fun usage() = 0

but (replaced star import )

import kotlin.coroutines.resume
class C
fun C.resume() = 0

/**
 * [Continuation.resume] // is resolved
 */
fun usage() = 0

@vmishenev vmishenev changed the title Unresolved KDoc link to two extensions with the same name [K2] Unresolved KDoc link to two extensions with the same name May 28, 2024
@vmishenev
Copy link
Contributor Author

@whyoleg whyoleg added the blocked: AA Changes required in Analysis API label Aug 23, 2024
@whyoleg whyoleg added this to the Dokka 2.1.0 milestone Aug 23, 2024
@vmishenev vmishenev removed the blocked: AA Changes required in Analysis API label Oct 23, 2024
@vmishenev vmishenev self-assigned this Nov 28, 2024
@vmishenev vmishenev linked a pull request Dec 4, 2024 that will close this issue
@whyoleg whyoleg modified the milestones: Dokka 2.1.0, Dokka 2.0.0 Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug topic: K2 Issues / PRs that are related to the K2 migration. See #2888
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants