From 558487bd61729de8ee61967f41b49fdbcaac2499 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 12 May 2013 15:31:45 +0200 Subject: Early initialization of keywords to save space. --- test/test/DottyTest.scala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test/DottyTest.scala') 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) -- cgit v1.2.3