Skip to content

Commit

Permalink
add -Xsource option
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Sep 1, 2024
1 parent 3ab3af7 commit a51fb01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ val commonSettings = Seq(
"-Xfuture",
"-Xlint:_,-missing-interpolator",
"-Ywarn-dead-code",
"-Xsource:2.13" // new warning: deprecate assignments in argument position
"-Xsource:3"
)
case Some((2, 13)) =>
Seq(
"-Xsource:3-cross",
"-Xlint:_,-missing-interpolator",
"-Ywarn-dead-code",
"-Ywarn-unused:imports,-patvars,-privates,-locals,-implicits,-explicits",
Expand Down

0 comments on commit a51fb01

Please sign in to comment.