blob: bba7118d79ba60579388394f0ab55b0a764788df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
outer-ref-checks.scala:5: warning: The outer reference in this type test cannot be checked at run time.
final case class Inner(val s: String) // unchecked warning
^
outer-ref-checks.scala:8: warning: The outer reference in this type test cannot be checked at run time.
case Inner(s) => // unchecked warning
^
outer-ref-checks.scala:18: warning: The outer reference in this type test cannot be checked at run time.
case Inner(s) => // unchecked warning
^
outer-ref-checks.scala:19: warning: The outer reference in this type test cannot be checked at run time.
case O.Inner(s) => // unchecked warning
^
outer-ref-checks.scala:41: warning: The outer reference in this type test cannot be checked at run time.
case Inner(s) => // unchecked warning
^
outer-ref-checks.scala:46: warning: The outer reference in this type test cannot be checked at run time.
case _: Inner => // unchecked warning
^
outer-ref-checks.scala:56: warning: The outer reference in this type test cannot be checked at run time.
case _: (Inner @uncheckedVariance) => // unchecked warning
^
error: No warnings can be incurred under -Xfatal-warnings.
7 warnings found
one error found
|