Skip to content

Commit

Permalink
Ensure version isBetween correct versions
Browse files Browse the repository at this point in the history
  • Loading branch information
channingwalton committed May 31, 2024
1 parent 8b9fe22 commit b1d41b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private[scalacoptions] trait ScalacOptions {
ScalacOption(
"-release",
List(version),
version => JavaMajorVersion.javaMajorVersion >= 9 && version >= V2_12_5 && version < V3_1_2
version => JavaMajorVersion.javaMajorVersion >= 9 && version.isBetween(V2_12_5, V3_1_2)
)

/** Enable features that will be available in a future version of Scala, for purposes of early
Expand Down

0 comments on commit b1d41b2

Please sign in to comment.