@@ -1622,7 +1622,8 @@ object Build {
16221622 // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
16231623 Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
16241624 Compile / scalacOptions += " -Yno-stdlib-patches" ,
1625- Compile / scalacOptions ++= Seq (
1625+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1626+ (Compile / scalacOptions) ++= Seq (
16261627 // Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
16271628 " -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
16281629 ),
@@ -1714,6 +1715,7 @@ object Build {
17141715 // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
17151716 Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
17161717 Compile / scalacOptions += " -Yno-stdlib-patches" ,
1718+ Compile / scalacOptions += " -Yexplicit-nulls" ,
17171719 Compile / scalacOptions ++= Seq (
17181720 // Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
17191721 " -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
0 commit comments