Closed
Description
2.12
case class A(v: Int)
collection.immutable.SortedSet(1).collect{ case x => A(x) }
// collection.immutable.Set[A] = Set(A(1))
2.13
[error] /home/gui/scala/test/junit/scala/Playground.scala:12: No implicit Ordering defined for A.
[error] collection.immutable.SortedSet(1).collect{ case x => A(x) }
[error] ^