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