diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-11-01 16:03:28 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-11-01 16:03:28 +0000 |
commit | 257a1845d3db3477a0b5939e94d77b0495d89561 (patch) | |
tree | 0aedf35621282407918e0f56b3b5ffc0952e6a14 /test/files/pos/bug159.scala | |
parent | 8b0cd5cf7c2a682dd70d6b8ea32b521015bf2269 (diff) | |
download | scala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.gz scala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.bz2 scala-257a1845d3db3477a0b5939e94d77b0495d89561.zip |
Refactored portability support
Diffstat (limited to 'test/files/pos/bug159.scala')
-rw-r--r-- | test/files/pos/bug159.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/pos/bug159.scala b/test/files/pos/bug159.scala index ef6eba5255..341cf07085 100644 --- a/test/files/pos/bug159.scala +++ b/test/files/pos/bug159.scala @@ -1,8 +1,10 @@ +import compat.StringBuilder + object foo { // the problem seems to appear only // if "val _" is in the body of a case - def cooked( ckd:StringBuffer ):Unit = + def cooked( ckd:StringBuilder ):Unit = 'a' match { case '-' => val _ = ckd.append( '_' ); |