Skip to content

Commit 684210f

Browse files
committed
Bootstrap compiler with -Ysafe-init
1 parent 541ddac commit 684210f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ object Build {
775775
},
776776

777777
// Note: bench/profiles/projects.yml should be updated accordingly.
778-
Compile / scalacOptions ++= Seq("-Yexplicit-nulls"),
778+
Compile / scalacOptions ++= Seq("-Yexplicit-nulls", "-Ysafe-init"),
779779

780780
repl := (Compile / console).value,
781781
Compile / console / scalacOptions := Nil, // reset so that we get stock REPL behaviour! E.g. avoid -unchecked being enabled

0 commit comments

Comments
 (0)