Skip to content

Commit

Permalink
Warn unused for 2.12 only
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdigital committed May 30, 2019
1 parent 7084d0f commit d0051db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/CommonSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ object CommonSettings extends AutoPlugin {
"-explaintypes",
"-language:higherKinds",
"-language:implicitConversions",
"-Ywarn-unused:_",
"-Ywarn-dead-code"
),
) ++
Some("-Ywarn-unused:_").filter(_ => scalaVersion.value == "2.12.8"),
)
}

0 comments on commit d0051db

Please sign in to comment.