From e9ea3247c61faf1be0c7d659dd03dda24ed7573e Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Fri, 31 Mar 2006 09:55:34 +0000 Subject: added test case for contrib --- test/files/pos/matchStarlift.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/pos/matchStarlift.scala diff --git a/test/files/pos/matchStarlift.scala b/test/files/pos/matchStarlift.scala new file mode 100644 index 0000000000..dab46eada2 --- /dev/null +++ b/test/files/pos/matchStarlift.scala @@ -0,0 +1,7 @@ +object Tet { + import scala.xml._; + def fooz(x: Node=>String) = {} + def foo( m:Node ):Unit = fooz { + case Elem(_,_,_,_,n,_*) if (n == m) => "gaga" + } +} -- cgit v1.2.3