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] Resolver.getJvmName() returns different results for annotation args in KSP 2 #1717

Closed
kuanyingchou opened this issue Feb 7, 2024 · 0 comments · Fixed by #1727
Closed
Assignees

Comments

@kuanyingchou
Copy link
Contributor

With an annotation class like this:

annotation class A(val a: String, val b: Int, val c: Float)

Calling Resolver.getJvmName() on the getters of its KSPropertyDeclarations returns getA, getB, getC in KSP 2 while it was a, b, c in KSP 1.

Tested with 2.0.0-Beta3-1.0.18-20240207.110119-15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants