Skip to content

Commit 8fce323

Browse files
committed
chore: disable -Yexplicit-nulls and -Werror (temp change)
1 parent a0cb8f7 commit 8fce323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/Build.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ object Build {
298298
"-deprecation",
299299
"-unchecked",
300300
//"-Wconf:cat=deprecation&msg=Unsafe:s", // example usage
301-
"-Werror",
301+
//"-Werror",
302302
//"-Wunused:all",
303303
//"-rewrite", // requires -Werror:false since no rewrites are applied with errors
304304
"-encoding", "UTF8",
@@ -1132,7 +1132,7 @@ object Build {
11321132
(Compile / scalacOptions) ++= Seq(
11331133
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
11341134
"-sourcepath", (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File.pathSeparator),
1135-
"-Yexplicit-nulls",
1135+
//"-Yexplicit-nulls",
11361136
),
11371137
(Compile / doc / scalacOptions) ++= ScaladocConfigs.DefaultGenerationSettings.value.settings,
11381138
(Compile / packageSrc / mappings) ++= {

0 commit comments

Comments
 (0)