Skip to content

Commit

Permalink
fixed by:
Browse files Browse the repository at this point in the history
Don't warn unused evidence of empty interface (in 2.13.14)
scala/scala#10692
  • Loading branch information
mzuehlke committed May 6, 2024
1 parent 5ed187a commit fa1e8a7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ object Resolver {
val mavenCentral: MavenRepository =
MavenRepository("public", "https://repo1.maven.org/maven2/", None, Nil)

@annotation.nowarn("cat=unused-locals")
implicit val resolverCodec: Codec[Resolver] = {
implicit val customConfig: Configuration = Configuration.default.withDefaults
deriveConfiguredCodec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ object Scope {
f(fa.value, lb)
}

@annotation.nowarn("cat=unused-params")
implicit def scopeCodec[A: Decoder: Encoder]: Codec[Scope[A]] =
deriveCodec

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ object Json {
implicit val defaultReviewerDecoder: Decoder[DefaultReviewer] = deriveDecoder
implicit val linkDecoder: Decoder[Link] = deriveDecoder
implicit val newPREncoder: Encoder[NewPR] = deriveEncoder
@annotation.nowarn("cat=unused-params")
implicit def pageDecoder[A: Decoder]: Decoder[Page[A]] = deriveDecoder
implicit val prDecoder: Decoder[PR] = deriveDecoder
implicit val projectCodec: Codec[Project] = deriveCodec
Expand Down

0 comments on commit fa1e8a7

Please sign in to comment.