Let x be a map. Then x.mkString complains with stuff like
scala> val x = strawman.collection.immutable.Map("fish" -> 3)
x: strawman.collection.immutable.Map[String,Int] = ChampHashMap(fish -> 3)
scala> x.mkString
^
error: ambiguous reference to overloaded definition,
both method mkString in trait MapOps of type (start: String, sep: String, end: String)String
and method mkString in trait IterableOnceOps of type => String
match expected type ?
Let
x
be a map. Thenx.mkString
complains with stuff like