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] Couldn't find enum values in annotation args #1838

Open
kuanyingchou opened this issue Apr 11, 2024 · 0 comments
Open

[KSP2] Couldn't find enum values in annotation args #1838

kuanyingchou opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working P1 major features or blocking bugs
Milestone

Comments

@kuanyingchou
Copy link
Contributor

kuanyingchou commented Apr 11, 2024

Getting annotation arg values for enum args returns null when the origin is JAVA_LIB.

Also found that when the origin is JAVA, the value type for the enum arg is KSTypeImpl instead of KSClassDeclarationEnumEntryImpl.

Repro: kuanyingchou@d8fa1e7

@kuanyingchou kuanyingchou changed the title [KSP2] Couldn' [KSP2] Couldn't find enum args in annotation args Apr 11, 2024
@kuanyingchou kuanyingchou changed the title [KSP2] Couldn't find enum args in annotation args [KSP2] Couldn't find enum values in annotation args Apr 11, 2024
@ting-yuan ting-yuan added bug Something isn't working P1 major features or blocking bugs labels Apr 24, 2024
@ting-yuan ting-yuan added this to the 2.0 milestone Apr 24, 2024
@neetopia neetopia self-assigned this May 7, 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 P1 major features or blocking bugs
Projects
None yet
Development

No branches or pull requests

3 participants