Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9b5cc10

Browse files
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /