inferred/FreeBuilder

User errors are swamped by cascading failures

alicederyn opened this issue · 1 comments

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?

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).