-
-
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
Delombok of sneakythrows in constructors causes build failure with super() #454
Comments
👤 chris.alexander@import.io 🕗 Jun 20, 2012 at 16:03 UTC Just came across an interesting issue using delombok as part of our build process (for various reasons, don't ask!). This code (where AbstractField is the constructor): @ SneakyThrows(UnknownCustomTypeException.class) Is translated by Delombok to: public AbstractField(FieldParameter parameter, JsonSchema jsonSchema) { Clearly this is invalid as the super() needs to be before the try { otherwise it fails to compile, "Constructor call must be the first statement in a constructor" etc. |
👤 pe.fips 🕗 Jun 24, 2012 at 18:45 UTC Fixed with commit 8fb4f79 |
👤 r.spilker 🕗 Jun 25, 2012 at 20:50 UTC |
End of migration |
…sing @EqualsAndHashCode(callSuper=true), even though set in config.
Migrated from Google Code (issue 381)
The text was updated successfully, but these errors were encountered: