ComparePriority1

munit.ComparePriority1

Allows comparison between A and B when A is a subtype of B

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Compare

Members list

Implicits

Implicits

implicit def compareSubtypeWithSupertype[A, B](implicit ev: A <:< B): Compare[A, B]

Inherited implicits

implicit def compareSupertypeWithSubtype[A, B](implicit ev: A <:< B): Compare[B, A]

Attributes

Inherited from:
ComparePriority2