Skip to content

Commit

Permalink
Fix compilation under Scala 3.6 new givens prioritization scheme (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur authored Jul 18, 2024
1 parent 60e5e67 commit dbf51f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit dbf51f4

Please sign in to comment.