summaryrefslogtreecommitdiff
path: root/test/files/pos/virtpatmat_anonfun_for.scala
blob: 8623cd97bafa6e4a3d1c713ee3b312408c5a6f09 (plain) (blame)
1
2
3
4
5
6
7
8
trait Foo {
  def bla = {
    val tvs = "tvs"
    Nil.foreach(x => x match {
      case _ => println(tvs)
    })
  }
}