blob: 6b05b6fa63c79a0a4defe876a7ed83df7f53a5df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
t7171b.scala:2: warning: The outer reference in this type test cannot be checked at run time.
final case class A()
^
t7171b.scala:8: warning: The outer reference in this type test cannot be checked at run time.
case _: A => true; case _ => false
^
t7171b.scala:13: warning: The outer reference in this type test cannot be checked at run time.
case _: A => true; case _ => false
^
error: No warnings can be incurred under -Xfatal-warnings.
three warnings found
one error found
|