From b75dec4cf4f9a4ca6dc5d1d8866e9540b84f9d70 Mon Sep 17 00:00:00 2001 From: michelou Date: Wed, 4 Jul 2007 12:26:05 +0000 Subject: fixed bug in zipAll (thanks to Manojo, Prog4) --- src/library/scala/List.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/library') 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 -- cgit v1.2.3