aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/virtpatmat_anonfun_for.scala
blob: 73b54b18b0f7c42717d619039a311482623a4700 (plain) (tree)
1
2
3
4
5
6
7
8







                              
trait Foo {
  def bla = {
    val tvs = "tvs"
    Nil.foreach(x => x match {
      case _ => println(tvs)
    })
  }
}