Skip to content

Commit

Permalink
-Ywarn-accessible removed from 2.13 build
Browse files Browse the repository at this point in the history
  • Loading branch information
krzemin committed Nov 21, 2018
1 parent 17e5c71 commit ed27799
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ val settings = Seq(
"-language:higherKinds",
"-language:implicitConversions",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-infer-any",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
Expand All @@ -43,7 +42,7 @@ val settings = Seq(
"-Xlint:stars-align",
"-Xlint:type-parameter-shadow",
"-Xlint:unsound-match",
) ++ (if (scalaVersion.value >= "2.13") Nil else Seq("-Yno-adapted-args", "-Xexperimental")),
) ++ (if (scalaVersion.value >= "2.13") Nil else Seq("-Yno-adapted-args", "-Xexperimental", "-Ywarn-inaccessible")),
scalacOptions in (Compile, console) --= Seq("-Ywarn-unused:imports", "-Xfatal-warnings")
)

Expand Down

0 comments on commit ed27799

Please sign in to comment.