blob: 86d74b86d40633156126da2e6999947bba85f6a6 (
plain) (
blame)
1
2
3
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[Int].
List(1,2,3).map[Int, List[String]](x => 1)
^
one error found
|