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

[K1] Resolved references to synthetic java properties #3586

Open
vmishenev opened this issue Apr 25, 2024 · 0 comments
Open

[K1] Resolved references to synthetic java properties #3586

vmishenev opened this issue Apr 25, 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

After KT-62880, K2 (Dokka and IDE) can resolve references to synthetic java properties, but K1 - can not.

public class Storage {
    public String getProp() {
        return null;
    }
}
/**
 * prop [Storage.prop] is resolved in K2, but in K1 - not
 */
fun usage() {}

Note! The name of the unit test KDoc link should not lead to java synthetic properties is incorrect, see the fix

@vmishenev vmishenev added 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 labels Apr 25, 2024
@IgnatBeresnev IgnatBeresnev changed the title [K2] Resolved references to synthetic java properties [K1] Resolved references to synthetic java properties Apr 26, 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