-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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] delomboked class is missing @Builder.Default initialization in no args constructor #3053
Comments
How do you delombok? It looks like delombok uses Lombok <= 1.18.0. |
Screenshot in the issue description is showing two .class files, decompiled with Intellij. First one was compiled directly using lombok, the second one compiled from delomboked sources. |
I still don't know how you managed to generate the code on the left side but I think that you actually found a bug. In 3987f54 support for |
Describe the bug
There is a parent class
and a child, using
@SuperBuilder
and@Builder.Default
The problem is that lombok and delombok generate different result.
Lombok on the left and delombok+compile on the right
Expected behavior
Lombok initializes the field annotated with @Builder.Default in no-args constructor, as I believe is expected
Delomboked code is missing that step
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered: