diff options
author | Martin Odersky <odersky@gmail.com> | 2013-05-12 15:31:45 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-05-12 15:31:45 +0200 |
commit | 558487bd61729de8ee61967f41b49fdbcaac2499 (patch) | |
tree | ab2d19d988ce32536a754d0c28512fc247c44429 | |
parent | 18795cad3cdd38106fc081c6573f7eafd34c68ab (diff) | |
download | dotty-558487bd61729de8ee61967f41b49fdbcaac2499.tar.gz dotty-558487bd61729de8ee61967f41b49fdbcaac2499.tar.bz2 dotty-558487bd61729de8ee61967f41b49fdbcaac2499.zip |
Early initialization of keywords to save space.
-rw-r--r-- | test/test/DottyTest.scala | 4 |
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) |