Skip to content

Commit

Permalink
Deprecate generic intWitnessAs
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Dec 19, 2024
1 parent 0aaa910 commit 8e9de9f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ final case class WitnessAs[A, B](fst: A, snd: B)
object WitnessAs extends WitnessAs1 {
def apply[A, B](implicit ev: WitnessAs[A, B]): WitnessAs[A, B] = ev

implicit def intWitnessAs[B, A <: Int](implicit
@deprecated("Use one of the specialized instances of intWitnessAs*", "0.11.3")
def intWitnessAs[B, A <: Int](implicit
wa: ValueOf[A],
ta: ToInt[A],
nb: Numeric[B]
Expand Down

0 comments on commit 8e9de9f

Please sign in to comment.