From 48bfe814f675b7d09563bb2eb54d75ddec8621d2 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 25 Apr 2024 13:45:26 +0200 Subject: [PATCH] Fix conflict with `new ScalaSettings` Conflict between #18783 and #19766 --- compiler/test/dotty/tools/dotc/config/ScalaSettingsTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/test/dotty/tools/dotc/config/ScalaSettingsTests.scala b/compiler/test/dotty/tools/dotc/config/ScalaSettingsTests.scala index 2049b1bf5486..b2de0d6423df 100644 --- a/compiler/test/dotty/tools/dotc/config/ScalaSettingsTests.scala +++ b/compiler/test/dotty/tools/dotc/config/ScalaSettingsTests.scala @@ -104,7 +104,7 @@ class ScalaSettingsTests: private def wconfSrcFilterTest(argsStr: String, warning: reporting.Diagnostic.Warning): Either[List[String], reporting.Action] = import reporting.Diagnostic - val settings = new ScalaSettings + val settings = ScalaSettings val args = ArgsSummary(settings.defaultState, List(argsStr), errors = Nil, warnings = Nil) val proc = settings.processArguments(args, processAll = true, skipped = Nil) val wconfStr = settings.Wconf.valueIn(proc.sstate)