Skip to content

Commit 9b5cc10

Browse files
committed
Silence specific category
1 parent 80940d4 commit 9b5cc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/test/scala/scala/util/parsing/combinator/PackratParsersTest.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private object grammars3 extends StandardTokenParsers with PackratParsers {
222222
| success(Nil)
223223
)
224224

225-
@annotation.nowarn // Some(xs) in pattern isn't exhaustive
225+
@annotation.nowarn("cat=other-match-analysis")
226226
def repMany1[T](p: => Parser[T], q: => Parser[T]): Parser[List[T]] =
227227
p~opt(repMany(p,q))~q ^^ {case x~Some(xs)~y => x::xs:::(y::Nil)}
228228

0 commit comments

Comments
 (0)