@@ -1619,7 +1619,8 @@ object Build {
16191619 // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
16201620 Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
16211621 Compile / scalacOptions += " -Yno-stdlib-patches" ,
1622- Compile / scalacOptions ++= Seq (
1622+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1623+ (Compile / scalacOptions) ++= Seq (
16231624 // Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
16241625 " -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
16251626 ),
@@ -1701,6 +1702,7 @@ object Build {
17011702 // NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
17021703 Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
17031704 Compile / scalacOptions += " -Yno-stdlib-patches" ,
1705+ Compile / scalacOptions += " -Yexplicit-nulls" ,
17041706 Compile / scalacOptions ++= Seq (
17051707 // Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
17061708 " -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
0 commit comments