You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala.MatchError: 123 (of class java.lang.Integer)
at org.http4s.Uri$Path$Segment.equals(Uri.scala:468)
Missing a case _ => false:
override def equals(obj: Any): Boolean =
obj match {
case s: Segment => s.encoded == encoded
}
Other classes in Uri.scala have it, example:
final class Scheme private[http4s] (val value: String) extends Ordered[Scheme] {
override def equals(o: Any): Boolean =
o match {
case that: Scheme => this.value.equalsIgnoreCase(that.value)
case _ => false
}
The text was updated successfully, but these errors were encountered:
result:
Missing a
case _ => false
:Other classes in Uri.scala have it, example:
The text was updated successfully, but these errors were encountered: