diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/matchStarlift.scala | 7 |
1 files changed, 7 insertions, 0 deletions
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" + } +} |