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

[KSP2] isCompanionObject is false for companion objects from KOTLIN_LIB #1747

Closed
kuanyingchou opened this issue Feb 21, 2024 · 0 comments · Fixed by #1757
Closed

[KSP2] isCompanionObject is false for companion objects from KOTLIN_LIB #1747

kuanyingchou opened this issue Feb 21, 2024 · 0 comments · Fixed by #1757
Assignees
Labels
bug Something isn't working

Comments

@kuanyingchou
Copy link
Contributor

When the origin is KOTLIN_LIB, isCompanionObject is false for the companion object in a class like this:

class A {
    companion object {}
}

Tested with 2.0.0-Beta3-1.0.18-20240219.110134-28 and a0cd777.

@neetopia neetopia self-assigned this Feb 26, 2024
@neetopia neetopia added the bug Something isn't working label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants