-
Notifications
You must be signed in to change notification settings - Fork 21
Scala 2.12.3 -Xcheckinit crash with Lift 3.1.0 #10437
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
And akka too |
Hi there, a friendly Lift committer here. Please let us know if there's a change we could make to ensure the community build catches this regression. =) |
See smaller test case in #10439. |
Fields initialized with `_` are excluded from initialization checks under `-Xcheckinit`. Since 5f86b1d, the compiler checks that flag on the field symbol instead of the getter. Unfortunately the flag was not actually copied to the field symbol, causing the init check to be added. Fixes scala/bug#10439, scala/bug#10437.
|
Fields initialized with `_` are excluded from initialization checks under `-Xcheckinit`. Since 5f86b1d, the compiler checks that flag on the field symbol instead of the getter. Unfortunately the flag was not actually copied to the field symbol, causing the init check to be added. Fixes scala/bug#10439 and it also fixes scala/bug#10437.
I'm still seeing the same issue that was reported in akka/akka#23453 with Scala 2.12.4 |
@steinybot please open a new ticket with reproduction details |
libraryDependencies += "net.liftweb" %% "lift-webkit" % "3.1.0"
scalacOptions += "-Xcheckinit"
With Scala 2.12.2 it runs fine; on 2.12.3 it throws an
UninitializedFieldError
about Lift'sCometActor #564
.Stack trace excerpt:
The text was updated successfully, but these errors were encountered: