From c84645dd468c20c9eafbd1f258010081a61948f3 Mon Sep 17 00:00:00 2001 From: eikek Date: Sat, 24 Sep 2022 12:49:15 +0200 Subject: [PATCH] Fix compile error new in scala 2.13.9 --- .../src/main/scala/docspell/query/internal/StringUtil.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/query/shared/src/main/scala/docspell/query/internal/StringUtil.scala b/modules/query/shared/src/main/scala/docspell/query/internal/StringUtil.scala index 3488c721..7a012c0d 100644 --- a/modules/query/shared/src/main/scala/docspell/query/internal/StringUtil.scala +++ b/modules/query/shared/src/main/scala/docspell/query/internal/StringUtil.scala @@ -76,7 +76,7 @@ object StringUtil { /** String content without the delimiter */ def undelimitedString(endP: P[Unit]): P[String] = escapedToken.backtrack - .orElse((!endP).with1 ~ P.anyChar) + .orElse(((!endP).with1 ~ P.anyChar).void) .rep .string .flatMap { str =>