diff -r b1e0fb71435d -r fdfe9b91d96e src/Pure/General/json_api.scala --- a/src/Pure/General/json_api.scala Tue Aug 29 12:04:13 2023 +0200 +++ b/src/Pure/General/json_api.scala Tue Aug 29 12:53:28 2023 +0200 @@ -69,7 +69,7 @@ sealed case class Links(json: JSON.T) { def get_next: Option[Service] = for { - JSON.Value.String(next) <- JSON.value(json, "next") + case JSON.Value.String(next) <- JSON.value(json, "next") if Url.is_wellformed(next) } yield new Service(Url(next))