aboutsummaryrefslogtreecommitdiff
path: root/test/test/DottyTest.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-05-12 15:31:45 +0200
committerMartin Odersky <odersky@gmail.com>2013-05-12 15:31:45 +0200
commit558487bd61729de8ee61967f41b49fdbcaac2499 (patch)
treeab2d19d988ce32536a754d0c28512fc247c44429 /test/test/DottyTest.scala
parent18795cad3cdd38106fc081c6573f7eafd34c68ab (diff)
downloaddotty-558487bd61729de8ee61967f41b49fdbcaac2499.tar.gz
dotty-558487bd61729de8ee61967f41b49fdbcaac2499.tar.bz2
dotty-558487bd61729de8ee61967f41b49fdbcaac2499.zip
Early initialization of keywords to save space.
Diffstat (limited to 'test/test/DottyTest.scala')
-rw-r--r--test/test/DottyTest.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test/DottyTest.scala b/test/test/DottyTest.scala
index 6f083dc71..15dc1910f 100644
--- a/test/test/DottyTest.scala
+++ b/test/test/DottyTest.scala
@@ -11,6 +11,8 @@ import org.junit.Test
class DottyTest {
+ dotty.tools.dotc.parsing.Scanners // initialize keywords
+
implicit val ctx: Context = {
val base = Context.theBase
import base.settings._
@@ -18,6 +20,8 @@ class DottyTest {
.withSetting(verbose, true)
// .withSetting(debug, true)
// .withSetting(debugTrace, true)
+// .withSetting(prompt, true)
+ .withSetting(nowarn, true)
.withSetting(Ylogcp, true)
.withSetting(printtypes, true)
.withSetting(pageWidth, 90)