aboutsummaryrefslogtreecommitdiff
path: root/test/test/DottyTest.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-27 12:53:03 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-27 15:02:53 +0100
commit97faee5a82b40b4c980c8cb222ff5ac4cb9083a4 (patch)
tree760353c5f86d35d473a54ba2ba71a4b0f55ddd41 /test/test/DottyTest.scala
parenta6419fbd80bb63413de671af331ae35da4fa4e1b (diff)
downloaddotty-97faee5a82b40b4c980c8cb222ff5ac4cb9083a4.tar.gz
dotty-97faee5a82b40b4c980c8cb222ff5ac4cb9083a4.tar.bz2
dotty-97faee5a82b40b4c980c8cb222ff5ac4cb9083a4.zip
Rename methods on FreshContext to make mutation obvious
And avoid name clashes
Diffstat (limited to 'test/test/DottyTest.scala')
-rw-r--r--test/test/DottyTest.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test/DottyTest.scala b/test/test/DottyTest.scala
index fcc211175..604f5d500 100644
--- a/test/test/DottyTest.scala
+++ b/test/test/DottyTest.scala
@@ -22,14 +22,14 @@ class DottyTest {
val base = new ContextBase
import base.settings._
val ctx = base.initialCtx.fresh
- .withSetting(verbose, true)
+ .setSetting(verbose, true)
// .withSetting(debug, true)
// .withSetting(debugTrace, true)
// .withSetting(prompt, true)
- .withSetting(Ylogcp, true)
- .withSetting(printtypes, true)
- .withSetting(pageWidth, 90)
- .withSetting(log, List("<some"))
+ .setSetting(Ylogcp, true)
+ .setSetting(printtypes, true)
+ .setSetting(pageWidth, 90)
+ .setSetting(log, List("<some"))
// .withTyperState(new TyperState(new ConsoleReporter()(base.initialCtx)))
// .withSetting(uniqid, true)