From 1f1cce45879e1b2da988d772761458b48a9111c5 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Thu, 22 Oct 2009 11:58:42 +0000 Subject: Revert "added CanBuild type alias in package ob... Revert "added CanBuild type alias in package object scala.collection.generic" because it broke scaladoc (I consider that a bug -- filing ticket) This reverts commit 5b3ba1c27cdce76d8aef2bfb9aa5a836237521a9. --- test/files/pos/collectGenericCC.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/pos/collectGenericCC.scala') diff --git a/test/files/pos/collectGenericCC.scala b/test/files/pos/collectGenericCC.scala index 3d993dabd0..0195993154 100644 --- a/test/files/pos/collectGenericCC.scala +++ b/test/files/pos/collectGenericCC.scala @@ -2,7 +2,7 @@ import scala.collection.generic._ import scala.collection._ object Test { - def collect[A, Res](r: Traversable[A])(implicit bf: CanBuild[A, Res]) = { + def collect[A, Res](r: Traversable[A])(implicit bf: CanBuildFrom[Nothing, A, Res]) = { val b = bf() for (a <- r) b += a b.result -- cgit v1.2.3