Skip to content

Commit 1cf779c

Browse files
Fix conflict with new ScalaSettings (#20264)
Conflict between #18783 and #19766. See `val sets = ScalaSettings` in the test just above.
2 parents 00802ab + 48bfe81 commit 1cf779c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/test/dotty/tools/dotc/config/ScalaSettingsTests.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class ScalaSettingsTests:
104104
private def wconfSrcFilterTest(argsStr: String,
105105
warning: reporting.Diagnostic.Warning): Either[List[String], reporting.Action] =
106106
import reporting.Diagnostic
107-
val settings = new ScalaSettings
107+
val settings = ScalaSettings
108108
val args = ArgsSummary(settings.defaultState, List(argsStr), errors = Nil, warnings = Nil)
109109
val proc = settings.processArguments(args, processAll = true, skipped = Nil)
110110
val wconfStr = settings.Wconf.valueIn(proc.sstate)

0 commit comments

Comments
 (0)