diff --git a/tests/pos/i2339.scala b/tests/pos/i2339.scala index 25afa8254b64..9d0daef807c3 100644 --- a/tests/pos/i2339.scala +++ b/tests/pos/i2339.scala @@ -1,6 +1,6 @@ import scala.collection.mutable -case class Foo[K, V]()(implicit conv: ImplicitConverter[V, Ordered[V]]) +case class Foo[K, V]()(implicit conv: Conversion[V, Ordered[V]]) extends mutable.HashMap[K,V] { val a = this.toSeq.sortWith { case ((_, v1), (_, v2)) => v1 > v2 }