File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ class Compiler {
112112 (start.setRunInfo(new RunInfo (start)) /: defn.RootImportFns )(addImport)
113113 }
114114
115- protected def rootReporter (implicit ctx : Context ): Reporter = new ConsoleReporter ()( ctx)
115+ protected def rootReporter (implicit ctx : Context ): Reporter = ctx.typerState.reporter
116116
117117 def reset ()(implicit ctx : Context ): Unit = {
118118 ctx.base.reset()
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ abstract class Driver extends DotClass {
3434
3535 def setup (args : Array [String ], rootCtx : Context ): (List [String ], Context ) = {
3636 val summary = CompilerCommand .distill(args)(rootCtx)
37- implicit val ctx : Context = initCtx .fresh.setSettings(summary.sstate)
37+ implicit val ctx : Context = rootCtx .fresh.setSettings(summary.sstate)
3838 val fileNames = CompilerCommand .checkUsage(summary, sourcesRequired)
3939 (fileNames, ctx)
4040 }
You can’t perform that action at this time.
0 commit comments