From 58b5c24df8ba06c02b92723922bc21381fedeb93 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 10 Jan 2011 07:21:41 +0000 Subject: Oops, the implicit not found message was wrong: scala> implicitly[CanBuildFrom[String, Int, List[List[Int]]]] :10: error: Cannot construct a collection of type List[List[Int]] with elements of type Int based on a collection of type List[List[Int]]. implicitly[CanBuildFrom[String, Int, List[List[Int]]]] ^ No review. --- test/files/neg/t2462a.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/files/neg/t2462a.check b/test/files/neg/t2462a.check index 040a01f3a1..86d74b86d4 100644 --- a/test/files/neg/t2462a.check +++ b/test/files/neg/t2462a.check @@ -1,4 +1,4 @@ -t2462a.scala:2: error: Cannot construct a collection of type List[String] with elements of type Int based on a collection of type List[String]. +t2462a.scala:2: error: Cannot construct a collection of type List[String] with elements of type Int based on a collection of type List[Int]. List(1,2,3).map[Int, List[String]](x => 1) ^ one error found -- cgit v1.2.3