diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-02-03 20:51:22 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-02-04 23:18:21 +0100 |
commit | f926c8c14a7b48f2c0f3da680c69881ddfb9bf46 (patch) | |
tree | 15101b39ce16171f180f3dccf708b42c173d9115 /test/dotty/partest | |
parent | d6a52eec2221101973c6b28f54aa20319f0e8b6f (diff) | |
download | dotty-f926c8c14a7b48f2c0f3da680c69881ddfb9bf46.tar.gz dotty-f926c8c14a7b48f2c0f3da680c69881ddfb9bf46.tar.bz2 dotty-f926c8c14a7b48f2c0f3da680c69881ddfb9bf46.zip |
Remove useless options in tests
- 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.
Diffstat (limited to 'test/dotty/partest')
-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 } |