At least one enum constant is required
veselov opened this issue · comments
Pawel commented
Building from an enumBuilder that has no constants generates an "at least one enum constant is required for X" error.
However, enums without any constants is a legal Java construct.
I've ran into this as I generate code from some other auto-generated sources, and sometimes it's possible that a placeholder enum is created.
Jake Wharton commented
Closed by #833