summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-07-04 12:26:05 +0000
committermichelou <michelou@epfl.ch>2007-07-04 12:26:05 +0000
commitb75dec4cf4f9a4ca6dc5d1d8866e9540b84f9d70 (patch)
treeb20263cc556fb3a5fb7e2075f75a55bb35b5a577 /src/library
parent308f93f8ed160122118bdc3d0f81cc9a796f061f (diff)
downloadscala-b75dec4cf4f9a4ca6dc5d1d8866e9540b84f9d70.tar.gz
scala-b75dec4cf4f9a4ca6dc5d1d8866e9540b84f9d70.tar.bz2
scala-b75dec4cf4f9a4ca6dc5d1d8866e9540b84f9d70.zip
fixed bug in zipAll (thanks to Manojo, Prog4)
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/List.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/List.scala b/src/library/scala/List.scala
index 5f0d80c890..b059fb08a8 100644
--- a/src/library/scala/List.scala
+++ b/src/library/scala/List.scala
@@ -1083,7 +1083,7 @@ sealed abstract class List[+A] extends Seq[A] {
these = these.tail
}
while (!those.isEmpty) {
- (thisElem, those.head)
+ b += (thisElem, those.head)
those = those.tail
}
b.toList