Skip to content

Commit

Permalink
Merge pull request #292 from xuwei-k/Xsource3
Browse files Browse the repository at this point in the history
add `-Xsource:3` option
  • Loading branch information
tototoshi authored Oct 8, 2023
2 parents 0b24490 + 6dad0e8 commit 7597320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ scalacOptions ++= Seq(
)

scalacOptions ++= PartialFunction.condOpt(CrossVersion.partialVersion(scalaVersion.value)){
case Some((2, v)) if v >= 11 => Seq("-Ywarn-unused")
case Some((2, v)) if v >= 11 => Seq("-Ywarn-unused", "-Xsource:3")
}.toList.flatten

Test / sources := {
Expand Down

0 comments on commit 7597320

Please sign in to comment.