Skip to content

Commit

Permalink
update to scala 3.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Dec 11, 2024
1 parent 40cd246 commit 62f0b62
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ import sbt.Keys.*
object Settings {

// also consider updating the -source param below
val scala3VersionString = sys.env.getOrElse("SCALA_VERSION", "3.5.2")
val scala3VersionString = sys.env.getOrElse("SCALA_VERSION", "3.6.2")

val scala3VersionMinor = scala3VersionString.reverse.dropWhile(c => c != '.').drop(1).reverse
// needs either 3.7 or 3.5 minor version in 3.6, otherwise there is a unfixable warning about changed implicit order
// see https://github.com/scala/scala3/issues/22153
val scala3VersionMinor = "3.7"
// val scala3VersionMinor = scala3VersionString.reverse.dropWhile(c => c != '.').drop(1).reverse

// see https://docs.scala-lang.org/overviews/compiler-options/
// and https://docs.scala-lang.org/scala3/guides/migration/options-new.html
Expand Down

0 comments on commit 62f0b62

Please sign in to comment.