You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/files/neg/delayed-init-ref.check
+1-4
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,6 @@ delayed-init-ref.scala:28: warning: trait DelayedInit in package scala is deprec
8
8
See the release notes for more details: https://github.com/scala/scala/releases/tag/v2.11.0-RC1
9
9
trait Before extends DelayedInit {
10
10
^
11
-
delayed-init-ref.scala:40: warning: Selecting value foo from trait UserContext, which extends scala.DelayedInit, is likely to yield an uninitialized value
12
-
println({locally(()); this}.foo) // warn (spurious, but we can't discriminate)
13
-
^
14
11
error: No warnings can be incurred under -Xfatal-warnings.
0 commit comments