You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
FreeBuilder is designed to output a stub builder when the user supplies an erroneous type (e.g. private constructor, @Nullable getter) so the error message(s) won't be swamped by references to undefined methods.
Unfortunately, javac seems to discard all generated code once an error is issued (by any annotation processor). We should see if there is anything that can be done on our side. For instance, does postponing errors to the final round work?
The text was updated successfully, but these errors were encountered:
Postponing errors has not worked, unfortunately. It looks like a contribution to javac itself will be required. Moving this off Milestone 1.0 (with great sadness).
…ated code to be ignored, triggering cascading failures throughout the user's code) by delaying error reporting until the end of the last round of processing. This did not work, unfortunately.
Also fixes an error in the generated code where "non-getter" abstract methods are not implemented, by simply dropping the Value and Partial types entirely if we issue any errors.
…ated code to be ignored, triggering cascading failures throughout the user's code) by delaying error reporting until the end of the last round of processing. This did not work, unfortunately.
Also fixes an error in the generated code where "non-getter" abstract methods are not implemented, by simply dropping the Value and Partial types entirely if we issue any errors.
FreeBuilder is designed to output a stub builder when the user supplies an erroneous type (e.g. private constructor,
@Nullable
getter) so the error message(s) won't be swamped by references to undefined methods.Unfortunately, javac seems to discard all generated code once an error is issued (by any annotation processor). We should see if there is anything that can be done on our side. For instance, does postponing errors to the final round work?
The text was updated successfully, but these errors were encountered: