@@ -1622,7 +1622,8 @@ object Build {
1622
1622
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1623
1623
Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1624
1624
Compile / scalacOptions += " -Yno-stdlib-patches" ,
1625
- Compile / scalacOptions ++= Seq (
1625
+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1626
+ (Compile / scalacOptions) ++= Seq (
1626
1627
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1627
1628
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
1628
1629
),
@@ -1714,6 +1715,7 @@ object Build {
1714
1715
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1715
1716
Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1716
1717
Compile / scalacOptions += " -Yno-stdlib-patches" ,
1718
+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1717
1719
Compile / scalacOptions ++= Seq (
1718
1720
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1719
1721
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
0 commit comments