diff options
Diffstat (limited to 'test/files/pos/virtpatmat_anonfun_for.scala')
-rw-r--r-- | test/files/pos/virtpatmat_anonfun_for.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/virtpatmat_anonfun_for.scala b/test/files/pos/virtpatmat_anonfun_for.scala new file mode 100644 index 0000000000..8623cd97ba --- /dev/null +++ b/test/files/pos/virtpatmat_anonfun_for.scala @@ -0,0 +1,8 @@ +trait Foo { + def bla = { + val tvs = "tvs" + Nil.foreach(x => x match { + case _ => println(tvs) + }) + } +}
\ No newline at end of file |