Skip to content

Commit 7fb9551

Browse files
committed
Remove useless options from partest runs
- Removed "-Xprint-types", it is only rarely needed and makes it very hard to read trees, enable it yourself if you need it. - Removed "-Ylog:<some", this does not seem to have any effect currently. - Removed "-pagewidth 90", this is overloaded in tests.scala to 160 anyway.
1 parent d6a52ee commit 7fb9551

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/dotty/partest/DPDirectCompiler.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ class DPDirectCompiler(runner: DPTestRunner) extends nest.DirectCompiler(runner)
1515

1616
implicit val ctx: dotty.tools.dotc.core.Contexts.Context = {
1717
val base = new dotty.tools.dotc.core.Contexts.ContextBase
18-
import base.settings._
19-
val ctx = base.initialCtx.fresh.setSetting(printtypes, true)
20-
.setSetting(pageWidth, 90).setSetting(log, List("<some"))
18+
val ctx = base.initialCtx.fresh
2119
base.definitions.init(ctx)
2220
ctx
2321
}

0 commit comments

Comments
 (0)