@@ -1430,6 +1430,7 @@ object Build {
1430
1430
Compile / unmanagedSourceDirectories += baseDirectory.value / " src-non-bootstrapped" ,
1431
1431
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1432
1432
Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1433
+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1433
1434
(Compile / scalacOptions) ++= Seq (
1434
1435
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1435
1436
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
@@ -1456,6 +1457,7 @@ object Build {
1456
1457
Compile / unmanagedSourceDirectories += baseDirectory.value / " src-bootstrapped" ,
1457
1458
// NOTE: The only difference here is that we drop `-Werror` and semanticDB for now
1458
1459
Compile / scalacOptions := Seq (" -deprecation" , " -feature" , " -unchecked" , " -encoding" , " UTF8" , " -language:implicitConversions" ),
1460
+ Compile / scalacOptions += " -Yexplicit-nulls" ,
1459
1461
Compile / scalacOptions ++= Seq (
1460
1462
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1461
1463
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File .pathSeparator),
0 commit comments