From 216dbaef6abdfc915837d97b0ea43dd21b75e325 Mon Sep 17 00:00:00 2001 From: ragnar Date: Thu, 12 Dec 2024 01:16:36 +0100 Subject: [PATCH] add expermiental options, likely to be removed later? --- project/Settings.scala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/project/Settings.scala b/project/Settings.scala index efe903216..9501d3c2e 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -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")