Skip to content

Commit

Permalink
fix scala 3 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbwheatley authored and jbwheatley committed Oct 27, 2021
1 parent e736cde commit a40d69d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object PactImplicits {

implicit val linkDecoder: Decoder[Link] = {
implicit val linkValues: Decoder[LinkValues] = deriveDecoder[LinkValues]
val linkList: Decoder[LinkList] = Decoder.decodeList[LinkValues].map(LinkList)
val linkList: Decoder[LinkList] = Decoder.decodeList[LinkValues].map(LinkList.apply)
linkValues.widen[Link].or(linkList.widen[Link])
}

Expand Down

0 comments on commit a40d69d

Please sign in to comment.