diff options
-rw-r--r-- | test/files/run/colltest.scala | 2 | ||||
-rw-r--r-- | test/files/run/interpreter.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/colltest.scala b/test/files/run/colltest.scala index 049c075fa1..864753aca1 100644 --- a/test/files/run/colltest.scala +++ b/test/files/run/colltest.scala @@ -46,5 +46,5 @@ class TestSet(s0: Set[int], s1: Set[int]) { Console.println("succeeded for "+Iterations+" iterations.") } object Test extends Application { - new TestSet(HashSet.empty, new LinkedHashSet) + new TestSet(HashSet.empty, new scala.collection.jcl.LinkedHashSet) } diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index 77e3e41662..2c69185516 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -112,7 +112,7 @@ def x => y => z val i = slice.indexOf('\n') if (i >= 0) { seenNL = true - writer.write(slice, i+1, slice.length-(i+1)) + writer.write(slice.force, i+1, slice.length-(i+1)) } else { // skip it } |