We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b9fe22 commit b1d41b2Copy full SHA for b1d41b2
lib/src/main/scala/org/typelevel/scalacoptions/ScalacOptions.scala
@@ -82,7 +82,7 @@ private[scalacoptions] trait ScalacOptions {
82
ScalacOption(
83
"-release",
84
List(version),
85
- version => JavaMajorVersion.javaMajorVersion >= 9 && version >= V2_12_5 && version < V3_1_2
+ version => JavaMajorVersion.javaMajorVersion >= 9 && version.isBetween(V2_12_5, V3_1_2)
86
)
87
88
/** Enable features that will be available in a future version of Scala, for purposes of early
0 commit comments