diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-02-03 20:49:15 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-02-04 19:25:32 +0100 |
commit | cf1413bfc89308aa4b44aa1b76019c168c32a343 (patch) | |
tree | 6946cca0af43930e0b772e1a628ab9e3ae13d562 /test/dotty | |
parent | 93dd1cf1fdbf56ca3c153aa5a25fb4c48782acf5 (diff) | |
download | dotty-cf1413bfc89308aa4b44aa1b76019c168c32a343.tar.gz dotty-cf1413bfc89308aa4b44aa1b76019c168c32a343.tar.bz2 dotty-cf1413bfc89308aa4b44aa1b76019c168c32a343.zip |
ConsoleReporter: remove unused argument ctx
Diffstat (limited to 'test/dotty')
-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() |