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 {
112
112
(start.setRunInfo(new RunInfo (start)) /: defn.RootImportFns )(addImport)
113
113
}
114
114
115
- protected def rootReporter (implicit ctx : Context ): Reporter = new ConsoleReporter ()( ctx)
115
+ protected def rootReporter (implicit ctx : Context ): Reporter = ctx.typerState.reporter
116
116
117
117
def reset ()(implicit ctx : Context ): Unit = {
118
118
ctx.base.reset()
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ abstract class Driver extends DotClass {
34
34
35
35
def setup (args : Array [String ], rootCtx : Context ): (List [String ], Context ) = {
36
36
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)
38
38
val fileNames = CompilerCommand .checkUsage(summary, sourcesRequired)
39
39
(fileNames, ctx)
40
40
}
You can’t perform that action at this time.
0 commit comments