-
Notifications
You must be signed in to change notification settings - Fork 21
Multiple nested object initialization deadlock #9428
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-9428?orig=1 |
Haney Maxwell (hmrmaxwell) said: |
@szeiger said: |
@szeiger said: |
still reproduces on 2.13.16 Scala 3.6.3 rejects it with
so I'm going to add the "fixed in Scala 3" label (we can remove it if someone steps forward with a Scala 3 reproduction) |
compatibly
Not sure but maybe Scala 3 works because the static method called by bootstrap is on Scala 2 works by breaking the classloading cycle, by preloading Foo stuff. I would have guessed something about improved lazy vals; I'm not sure if they are at par now. |
Repro case below
The text was updated successfully, but these errors were encountered: