Skip to content

Commit 20d47b0

Browse files
committed
Avoid -Xfuture
1 parent 523e51b commit 20d47b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: 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)