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] @Log fails on nested enums #2990
Comments
Context for implementers: Lombok demands |
@rzwitserloot if this hasn't been worked on already, I would love to contribute. |
@varkart Feel free! Should be as simple as removing two lines, or at least 'guarding' an existing |
@rzwitserloot at your convenience could you plz review the PR and let me know if any additional changes are needed. |
Describe the bug
Compilation fails when the annotation @log is set on a nested enum.
To Reproduce
Here is an example:
The following error appears during compilation:
@Log is not supported on non-static nested classes.
Expected behavior
Should compile without error.
Was working fine in 1.18.20
Version info (please complete the following information):
Additional context
Addind the keyword
static
to the enum seems to workaround the problem.The text was updated successfully, but these errors were encountered: