Skip to content

Commit

Permalink
Disable fatal warnings on Dotty because of #8383
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbrown committed Feb 26, 2020
1 parent ebb56ac commit 593c05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,6 @@ def commonScalacOptions(scalaVersion: String, isDotty: Boolean) =
"UTF-8",
"-feature",
"-unchecked",
"-Xfatal-warnings",
"-deprecation"
) ++ (if (priorTo2_13(scalaVersion))
Seq(
Expand All @@ -821,7 +820,8 @@ def commonScalacOptions(scalaVersion: String, isDotty: Boolean) =
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
"-Xlint:-unused,_"
"-Xlint:-unused,_",
"-Xfatal-warnings"
))

def priorTo2_13(scalaVersion: String): Boolean =
Expand Down

0 comments on commit 593c05d

Please sign in to comment.