summaryrefslogtreecommitdiff
path: root/test/files/run/coder/Coder.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/coder/Coder.scala')
-rw-r--r--test/files/run/coder/Coder.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/coder/Coder.scala b/test/files/run/coder/Coder.scala
index 5c81efc9c0..06dd4b6355 100644
--- a/test/files/run/coder/Coder.scala
+++ b/test/files/run/coder/Coder.scala
@@ -85,7 +85,7 @@ class ParCoder(words: List[String]) {
def encode(number: String): ParSet[List[String]] =
if (number.isEmpty) ParSet(List())
else {
- val splits = (1 to number.length).toParSet
+ val splits = (1 to number.length).toSet.par
// for {
// split <- splits
// word <- wordsForNum(number take split)