@@ -1676,7 +1676,8 @@ object Build {
16761676 // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
16771677 Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
16781678 Compile / scalacOptions += " -Yno-stdlib-patches" ,
1679- Compile / scalacOptions ++= Seq (
1679+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1680+ (Compile / scalacOptions) ++= Seq (
16801681 // Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
16811682 " -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
16821683 ),
@@ -1758,6 +1759,7 @@ object Build {
17581759 // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
17591760 Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
17601761 Compile / scalacOptions += " -Yno-stdlib-patches" ,
1762+ Compile / scalacOptions += " -Yexplicit-nulls" ,
17611763 Compile / scalacOptions ++= Seq (
17621764 // Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
17631765 " -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
0 commit comments