diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-10-21 13:55:41 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-10-21 13:55:41 +0000 |
commit | 03bea84fa11a65fd87a2a6766572d9405381c89d (patch) | |
tree | 555214ac57101987ce94be21e06078393d4c09a4 /test/files/pos/collectGenericCC.scala | |
parent | f818b44b1c7a4ad62271600d85dc41602a7349f7 (diff) | |
download | scala-03bea84fa11a65fd87a2a6766572d9405381c89d.tar.gz scala-03bea84fa11a65fd87a2a6766572d9405381c89d.tar.bz2 scala-03bea84fa11a65fd87a2a6766572d9405381c89d.zip |
fixed failing testcases due to previous commit ...
fixed failing testcases due to previous commit (renaming of
BuilderFactory)
Diffstat (limited to 'test/files/pos/collectGenericCC.scala')
-rw-r--r-- | test/files/pos/collectGenericCC.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/collectGenericCC.scala b/test/files/pos/collectGenericCC.scala index 2873029bb6..9840f1071d 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: {def foreach[U](k: A => U): Unit})(implicit bf: BuilderFactory[A, Res, Nothing]) = { + def collect[A, Res](r: Traversable[A])(implicit bf: CanBuildFrom[Nothing, A, Res]) = { val b = bf() for (a <- r) b += a b.result |