Skip to content

Commit 9096200

Browse files
committed
Enable explicit-nulls in Community Build
1 parent a12083c commit 9096200

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
@@ -118,6 +118,7 @@ object SbtCommunityProject:
118118
def scalacOptions = List(
119119
"-Xcheck-macros",
120120
"-Wsafe-init",
121+
"-Yexplicit-nulls",
121122
)
122123

123124
object projects:
@@ -265,7 +266,8 @@ object projects:
265266
project = "scala-xml",
266267
sbtTestCommand = "xml/test",
267268
sbtPublishCommand = "xml/publishLocal",
268-
sbtDocCommand = "xml/doc"
269+
sbtDocCommand = "xml/doc",
270+
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Yexplicit-nulls")
269271
)
270272

271273
lazy val scalap = SbtCommunityProject(

0 commit comments

Comments
 (0)