diff options
Diffstat (limited to 'test/dotty/partest/DPDirectCompiler.scala')
-rw-r--r-- | test/dotty/partest/DPDirectCompiler.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/dotty/partest/DPDirectCompiler.scala b/test/dotty/partest/DPDirectCompiler.scala index f08af24a9..a6f11ec64 100644 --- a/test/dotty/partest/DPDirectCompiler.scala +++ b/test/dotty/partest/DPDirectCompiler.scala @@ -15,9 +15,7 @@ class DPDirectCompiler(runner: DPTestRunner) extends nest.DirectCompiler(runner) implicit val ctx: dotty.tools.dotc.core.Contexts.Context = { val base = new dotty.tools.dotc.core.Contexts.ContextBase - import base.settings._ - val ctx = base.initialCtx.fresh.setSetting(printtypes, true) - .setSetting(pageWidth, 90).setSetting(log, List("<some")) + val ctx = base.initialCtx.fresh base.definitions.init(ctx) ctx } |