diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/Main.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/Main.scala b/src/dotty/tools/dotc/Main.scala index 3ba05dfee..fb2733c27 100644 --- a/src/dotty/tools/dotc/Main.scala +++ b/src/dotty/tools/dotc/Main.scala @@ -16,8 +16,8 @@ object Main extends Driver { override def newCompiler(): Compiler = new Compiler - override def doCompile(compiler: Compiler, fileNames: List[String])(implicit ctx: Context) { - if (ctx.settings.resident.value) resident(compiler) + override def doCompile(compiler: Compiler, fileNames: List[String])(implicit ctx: Context): Unit = { + if (new config.Settings.Setting.SettingDecorator(ctx.base.settings.resident).value) resident(compiler) else super.doCompile(compiler, fileNames) } } |