Skip to content

Commit 0c269cb

Browse files
committed
Make WcheckInit public
This is needed to make ScalaSettingsTests.scala compile [Cherry-picked 81f2c8e][modified]
1 parent ed97ccd commit 0c269cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ private sealed trait WarningSettings:
282282
|to prevent the shell from expanding patterns.""".stripMargin,
283283
)
284284

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

287287
object Whas:
288288
def allOr(s: Setting[Boolean])(using Context): Boolean =

0 commit comments

Comments
 (0)