diff options
Diffstat (limited to 'test-nsc/files/pos/bug159.scala')
-rw-r--r-- | test-nsc/files/pos/bug159.scala | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test-nsc/files/pos/bug159.scala b/test-nsc/files/pos/bug159.scala deleted file mode 100644 index ef6eba5255..0000000000 --- a/test-nsc/files/pos/bug159.scala +++ /dev/null @@ -1,22 +0,0 @@ -object foo { - - // the problem seems to appear only - // if "val _" is in the body of a case - def cooked( ckd:StringBuffer ):Unit = - 'a' match { - case '-' => - val _ = ckd.append( '_' ); - case 'v' => - val _ = ckd.append( '_' ); - } - -} -object foo1 { - def f():Unit = { - 1 match { - case 2 => val _ = 1; - case 3 => val _ = 2; - case 4 => val _ = 2; - } - } -} |