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

bug: Visibility of annotated classes can not be internal #4

Open
oSumAtrIX opened this issue Dec 5, 2023 · 3 comments
Open

bug: Visibility of annotated classes can not be internal #4

oSumAtrIX opened this issue Dec 5, 2023 · 3 comments

Comments

@oSumAtrIX
Copy link

Issue

When you annotate an enum class that is internal, you get this issue:

image

Solution

Use the annotated classes visibility modifier

Possibly related line of code

https://github.com/MateriiApps/enumutil-kt/blob/master/enumutil-ksp/src/main/kotlin/com/github/materiiapps/enumutil/ksp/FromValueVisitor.kt#L126-L126

@rushiiMachine
Copy link
Member

can you show your full DialogKind enum

@rushiiMachine
Copy link
Member

Use the annotated classes visibility modifier

it does; what's interesting is why it's null for some reason
i'll have to dig a bit ig

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

No branches or pull requests

2 participants