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 22a259d commit e97a7fbCopy full SHA for e97a7fb
build.sbt
@@ -16,6 +16,16 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
16
file -> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/")
17
}.toMap,
18
19
+ // go nearly warning-free, but only on 2.13, it's too hard across all versions
20
+ Compile / scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
21
+ case Some((2, 13)) => Seq("-Werror",
22
+ // ideally we'd do something about this. `^?` is the responsible method
23
+ "-Wconf:site=scala.util.parsing.combinator.Parsers.*&cat=lint-multiarg-infix:i",
24
+ // not sure what resolving this would look like? didn't think about it too hard
25
+ "-Wconf:site=scala.util.parsing.combinator.lexical.StdLexical.*&cat=other-match-analysis:i",
26
+ )
27
+ case _ => Seq()
28
+ }),
29
Compile / doc / scalacOptions ++= {
30
if (isDotty.value)
31
Seq("-language:Scala2")
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments