Skip to content

Commit

Permalink
Fixed type shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
domaspoliakas committed Feb 22, 2023
1 parent 7d53f54 commit 92b7bb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import scala.util.Try
trait GoldenCodecTests[A] extends CodecTests[A] {
def laws: GoldenCodecLaws[A]

private[this] def tryListToProp[A: Eq](result: Try[List[IsEq[A]]]): Prop = result match {
private[this] def tryListToProp[T: Eq](result: Try[List[IsEq[T]]]): Prop = result match {
case Failure(error) => Prop.exception(error)
case Success(equalities) => Prop.all(equalities.map(catsLawsIsEqToProp(_)): _*)
}
Expand Down

0 comments on commit 92b7bb9

Please sign in to comment.