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