diff options
author | Martin Odersky <odersky@gmail.com> | 2005-10-03 13:42:39 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2005-10-03 13:42:39 +0000 |
commit | 2994973970bcba6ff90d7788e79f2042cc11deaf (patch) | |
tree | b90fbfc9d5b12b01f2815edabb2f0eeb17655a94 /test/files/pos/bug159.scala | |
parent | 159a3633b593bf2b0a10f4f4e218489b2bba03bc (diff) | |
download | scala-2994973970bcba6ff90d7788e79f2042cc11deaf.tar.gz scala-2994973970bcba6ff90d7788e79f2042cc11deaf.tar.bz2 scala-2994973970bcba6ff90d7788e79f2042cc11deaf.zip |
*** empty log message ***
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; |