Skip to content

Commit 81f2c8e

Browse files
committed
Make WcheckInit public
This is needed to make ScalaSettingsTests.scala compile
1 parent d9e5fd4 commit 81f2c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/config/ScalaSettings.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ private sealed trait WarningSettings:
300300
def typeParameterShadow(using Context) =
301301
allOr("type-parameter-shadow")
302302

303-
private val WcheckInit: Setting[Boolean] = BooleanSetting(WarningSetting, "Wsafe-init", "Ensure safe initialization of objects.")
303+
val WcheckInit: Setting[Boolean] = BooleanSetting(WarningSetting, "Wsafe-init", "Ensure safe initialization of objects.")
304304

305305
object Whas:
306306
def allOr(s: Setting[Boolean])(using Context): Boolean =

0 commit comments

Comments
 (0)