From 92b7bb9f3483e298dc11734b253598ea5555e598 Mon Sep 17 00:00:00 2001 From: Domas Poliakas Date: Wed, 22 Feb 2023 17:12:03 +0100 Subject: [PATCH] Fixed type shadowing --- .../main/scala/io/circe/testing/golden/GoldenCodecTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golden/src/main/scala/io/circe/testing/golden/GoldenCodecTests.scala b/golden/src/main/scala/io/circe/testing/golden/GoldenCodecTests.scala index b1487da..56452b6 100644 --- a/golden/src/main/scala/io/circe/testing/golden/GoldenCodecTests.scala +++ b/golden/src/main/scala/io/circe/testing/golden/GoldenCodecTests.scala @@ -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(_)): _*) }