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