From 20d47b089d1d42c0494c6169e5d91f0d3aec5ee3 Mon Sep 17 00:00:00 2001 From: "Aaron S. Hawley" Date: Mon, 9 Apr 2018 15:06:37 -0400 Subject: [PATCH] Avoid -Xfuture --- build.sbt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 1a8017cb3..2dbff0b85 100644 --- a/build.sbt +++ b/build.sbt @@ -22,7 +22,9 @@ lazy val xml = crossProject.in(file(".")) name := "scala-xml", version := "1.1.1-SNAPSHOT", - scalacOptions ++= "-deprecation:false -Xfuture -feature -Xlint:-stars-align,-nullary-unit,_".split("\\s+").to[Seq], + // Compiler team advised avoiding the -Xfuture option for releases. + // The output with -Xfuture should be periodically checked, though. + scalacOptions ++= "-deprecation:false -feature -Xlint:-stars-align,-nullary-unit,_".split("\\s+").to[Seq], scalacOptions in Test += "-Xxml:coalescing", apiMappings ++= Map(