Skip to content

Commit

Permalink
add expermiental options, likely to be removed later?
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Dec 12, 2024
1 parent 62f0b62 commit 216dbae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ object Settings {
valueDiscard(Compile / compile),
typeParameterShadow(Compile / compile),
privateShadow(Compile / compile),
experimentalOptions,
)

// enabled to see what breaks and maybe play around with
// named tuples seems likely for 3.7, modularity is not SIP approved (though I also have not seen someone arguing against)
def experimentalOptions =
scalacOptions ++= List("-language:experimental.namedTuples", "-language:experimental.modularity")

// Spell out feature and deprecation warnings instead of summarizing them into a single warning
// always turn this on to make the compiler less ominous
def fullFeatureDeprecationWarnings = scalacOptions ++= List("-feature", "-deprecation")
Expand Down

0 comments on commit 216dbae

Please sign in to comment.