Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Remove -Xfuture from 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro committed May 2, 2019
1 parent 40315af commit 609c634
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/scala/buildo/ScalaSettingPlugin.scala
Expand Up @@ -16,8 +16,8 @@ object ScalaSettingPlugin extends AutoPlugin {

def crossFlags(scalaVersion: String): Seq[String] =
CrossVersion.partialVersion(scalaVersion) match {
case Some((2, 11)) => Seq("-Yinline-warnings", "-Ypartial-unification")
case Some((2, 12)) => Seq("-opt-warnings", "-Ypartial-unification")
case Some((2, 11)) => Seq("-Yinline-warnings", "-Ypartial-unification", "-Xfuture")
case Some((2, 12)) => Seq("-opt-warnings", "-Ypartial-unification", "-Xfuture")
case Some((2, 13)) => Seq("-Ymacro-annotations")
case _ => Nil
}
Expand All @@ -26,10 +26,12 @@ object ScalaSettingPlugin extends AutoPlugin {
cancelable in Global := true,
scalacOptions ++= Seq(
"-encoding", "utf8",
"-deprecation", "-feature", "-unchecked", "-Xlint",
"-deprecation",
"-feature",
"-unchecked",
"-Xlint",
"-language:higherKinds",
"-language:implicitConversions",
"-Xfuture",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
Expand Down

0 comments on commit 609c634

Please sign in to comment.