Skip to content

Commit 3c81324

Browse files
authored
Merge pull request #208 from ashawley/avoid-Xfuture
Avoid -Xfuture
2 parents 523e51b + 20d47b0 commit 3c81324

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ lazy val xml = crossProject.in(file("."))
2222
name := "scala-xml",
2323
version := "1.1.1-SNAPSHOT",
2424

25-
scalacOptions ++= "-deprecation:false -Xfuture -feature -Xlint:-stars-align,-nullary-unit,_".split("\\s+").to[Seq],
25+
// Compiler team advised avoiding the -Xfuture option for releases.
26+
// The output with -Xfuture should be periodically checked, though.
27+
scalacOptions ++= "-deprecation:false -feature -Xlint:-stars-align,-nullary-unit,_".split("\\s+").to[Seq],
2628
scalacOptions in Test += "-Xxml:coalescing",
2729

2830
apiMappings ++= Map(

0 commit comments

Comments
 (0)