summaryrefslogblamecommitdiff
path: root/test/files/pos/matchStarlift.scala
blob: dab46eada20d8c97c0eb1792bec2ccc96da48b0c (plain) (tree)
1
2
3
4
5
6
7






                                                   
object Tet {
  import scala.xml._;
  def fooz(x: Node=>String) = {}
    def foo( m:Node ):Unit = fooz {
      case Elem(_,_,_,_,n,_*) if (n == m) => "gaga"
    }
}