@@ -1676,7 +1676,8 @@ object Build {
1676
1676
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1677
1677
Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1678
1678
Compile / scalacOptions += " -Yno-stdlib-patches" ,
1679
- Compile / scalacOptions ++= Seq (
1679
+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1680
+ (Compile / scalacOptions) ++= Seq (
1680
1681
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1681
1682
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
1682
1683
),
@@ -1758,6 +1759,7 @@ object Build {
1758
1759
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1759
1760
Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1760
1761
Compile / scalacOptions += " -Yno-stdlib-patches" ,
1762
+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1761
1763
Compile / scalacOptions ++= Seq (
1762
1764
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1763
1765
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
0 commit comments