scala - Diverging implicit expansion for Ordered with Product -
why following causing "diverging implicit expansion":
trait suit extends ordered[suit] implicitly[ordering[suit]] // ok implicitly[ordering[product]] // none found implicitly[ordering[suit product]] // diverges !?
(is related si-8541?)
Comments
Post a Comment