blob: bd6b2bcfb447d46d64c490950d46ba10ce47a6f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
t7171b.scala:2: error: The outer reference in this type test cannot be checked at run time.
final case class A()
^
t7171b.scala:8: error: The outer reference in this type test cannot be checked at run time.
case _: A => true; case _ => false
^
t7171b.scala:13: error: The outer reference in this type test cannot be checked at run time.
case _: A => true; case _ => false
^
three errors found
|