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
"a cycle was detected in static intializers" error when making a java candy #741
Comments
Hello @tonysmarthome Do you think this would solve this issue? I have the feeling it could. |
That's an interesting one... The transpiler's dependency analyzer complains because their is a static cross-dependency between your two classes. In that case, I am pretty sure that JSweet is a little bit too harsh. There is supposed to be a lazy static initializers option that should allow the If it still not working (then a JSweet fix could be done to make it smarter in that case), you can overcome the issue by breaking the mutual dependency yourself. Implement the |
there are only 2 files in this candy
Token.java
and SimpleToken.java
error message
thanks
The text was updated successfully, but these errors were encountered: