We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently two generators can be declared such as:
@Generator public interface AGenerator { default A generate(B b) { return new A(b); } } @Generator public interface BGenerator { default B generate(A a) { return new B(a); } }
Creation of such generators will, at best, result in a StackOverflowException.
StackOverflowException
Precautions should be taken to prevent this situations at compile time and force users to modify such paradoxical declarations.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently two generators can be declared such as:
Creation of such generators will, at best, result in a
StackOverflowException
.Precautions should be taken to prevent this situations at compile time and force users to modify such paradoxical declarations.
The text was updated successfully, but these errors were encountered: