Skip to content

Commit

Permalink
For #4086/#6491: enable Scala 3 features with 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bruchez committed Sep 17, 2024
1 parent e045ac0 commit 3f1d8f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,11 @@ lazy val commonSettings = Seq(
"-language:higherKinds",
"-language:existentials",
"-deprecation",
"-Xasync", // for `scala-async` 1.0.0 or greater
"-Ymacro-annotations", // for Scala 2.13
"-Ytasty-reader", // for Scala 2.13 reading Scala 3 modules
// "-Xsource:3", // for Scala 2.13 -> Scala 3 migration
"-Xasync", // for `scala-async` 1.0.0 or greater
"-Xsource:3", // for Scala 2.13 -> Scala 3 migration
"-Wconf:cat=scala3-migration:w", // for Scala 2.13 -> Scala 3 migration
// Consider the following flags
// "-feature",
// "-unchecked",
Expand Down

0 comments on commit 3f1d8f1

Please sign in to comment.