We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd324be commit 80940d4Copy full SHA for 80940d4
shared/src/main/scala/scala/util/parsing/combinator/lexical/StdLexical.scala
@@ -17,6 +17,7 @@ package lexical
17
18
import token._
19
import input.CharArrayReader.EofCh
20
+import scala.annotation.nowarn
21
import scala.collection.mutable
22
23
/** This component provides a standard lexical parser for a simple,
@@ -54,6 +55,7 @@ class StdLexical extends Lexical with StdTokens {
54
55
}
56
57
// see `whitespace in `Scanners`
58
+ @nowarn("cat=lint-infer-any")
59
def whitespace: Parser[Any] = rep[Any](
60
whitespaceChar
61
| '/' ~ '*' ~ comment
0 commit comments