-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Questions are not bug reports
This may be a queston?
Reproduction steps
Scala version: 2 & 3
scala> m.toString
val res2: String = HashMap(5 -> 6, 1 -> 2, 9 -> 10, 7 -> 8, 3 -> 4)
Problem
HashMap#toString does not reflect the doc at Iterable.
Doc for Map#toString shows doc for Any, not for Iterable. Same for all collection types extending Function, which has an override for toString but no doc defined.
Maybe it's just a quirk of linearization, but it should be fixed either in the doc tool or in the source doc.