Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit a40d69d

Browse files
jbwheatleyjbwheatley
authored andcommitted
fix scala 3 compilation
1 parent e736cde commit a40d69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scalapact-circe-0-14/src/main/scala/com/itv/scalapact/circe14/PactImplicits.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ object PactImplicits {
7878

7979
implicit val linkDecoder: Decoder[Link] = {
8080
implicit val linkValues: Decoder[LinkValues] = deriveDecoder[LinkValues]
81-
val linkList: Decoder[LinkList] = Decoder.decodeList[LinkValues].map(LinkList)
81+
val linkList: Decoder[LinkList] = Decoder.decodeList[LinkValues].map(LinkList.apply)
8282
linkValues.widen[Link].or(linkList.widen[Link])
8383
}
8484

0 commit comments

Comments
 (0)