diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dotty/partest/DPDirectCompiler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotty/partest/DPDirectCompiler.scala b/test/dotty/partest/DPDirectCompiler.scala index ca56ac3e9..f08af24a9 100644 --- a/test/dotty/partest/DPDirectCompiler.scala +++ b/test/dotty/partest/DPDirectCompiler.scala @@ -25,7 +25,7 @@ class DPDirectCompiler(runner: DPTestRunner) extends nest.DirectCompiler(runner) try { val processor = if (opts0.exists(_.startsWith("#"))) dotty.tools.dotc.Bench else dotty.tools.dotc.Main - val clogger = new ConsoleReporter(writer = clogWriter)(ctx) + val clogger = new ConsoleReporter(writer = clogWriter) val logCtx = ctx.fresh.setTyperState(ctx.typerState.withReporter(clogger)) val reporter = processor.process((sources.map(_.toString) ::: opts0).toArray, logCtx) if (!reporter.hasErrors) runner.genPass() |