From 4dc4154440e71563d45f5f3e02f3c4dd27705864 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Thu, 18 Jul 2024 12:32:48 +0200 Subject: [PATCH] Fix compilation under Scala 3.6 new givens prioritization scheme --- .../deriving/src/test/scala/shapeless3/deriving/instances.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/deriving/src/test/scala/shapeless3/deriving/instances.scala b/modules/deriving/src/test/scala/shapeless3/deriving/instances.scala index 592ce0d..080b436 100644 --- a/modules/deriving/src/test/scala/shapeless3/deriving/instances.scala +++ b/modules/deriving/src/test/scala/shapeless3/deriving/instances.scala @@ -63,7 +63,7 @@ class InstancesTests: @Test def mapKforSingle: Unit = - val inst = summon[K0.Instances[TypeClass, Single[Int]]] + val inst = summon[K0.ProductInstances[TypeClass, Single[Int]]] val otherInst = inst.mapK([t] => (tc: TypeClass[t]) => tc.another) val s = Single(42)