Skip to content

Commit

Permalink
Allow Scala 2.12 to also use -Xsource:3
Browse files Browse the repository at this point in the history
  • Loading branch information
etspaceman authored Apr 20, 2023
1 parent b13e9d2 commit 0fa4c37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ object TypelevelSettingsPlugin extends AutoPlugin {
case V(V(3, _, _, _)) =>
Seq("-language:implicitConversions", "-Ykind-projector", "-source:3.0-migration")

case V(V(2, minor, _, _)) if minor >= 13 =>
case V(V(2, minor, _, _)) if minor >= 12 =>
Seq("-language:_", "-Xsource:3")

case _ => Seq("-language:_")
Expand Down

0 comments on commit 0fa4c37

Please sign in to comment.