Skip to content

Commit b87e755

Browse files
committed
Enable explicit-nulls in Community Build
1 parent 1a86508 commit b87e755

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ object SbtCommunityProject:
138138
def scalacOptions = List(
139139
"-Xcheck-macros",
140140
"-Wsafe-init",
141+
"-Yexplicit-nulls",
141142
)
142143

143144
object projects:
@@ -306,7 +307,8 @@ object projects:
306307
project = "scala-xml",
307308
sbtTestCommand = "xml/test",
308309
sbtPublishCommand = "xml/publishLocal",
309-
sbtDocCommand = "xml/doc"
310+
sbtDocCommand = "xml/doc",
311+
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Yexplicit-nulls")
310312
)
311313

312314
lazy val scalap = SbtCommunityProject(

0 commit comments

Comments
 (0)