Skip to content

Commit

Permalink
Fix -Xlint:pattern-shadow warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aartigao committed Mar 18, 2024
1 parent cb6ee1e commit 886d723
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ object HeaderDeserializer {
HeaderDeserializer.instance { bytes =>
@tailrec def go(deserializer: HeaderDeserializer[Either[A, B]]): B =
deserializer.deserialize(bytes) match {
case Right(b) => b
case Left(a) => go(f(a))
case Right(_b) => _b
case Left(_a) => go(f(_a))
}

go(f(a))
Expand Down

0 comments on commit 886d723

Please sign in to comment.