aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/comptest.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-04-29 17:14:27 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-05-08 21:51:47 +0200
commitba2913bdb52bf1a42bd831e9429e044ee8d3c42f (patch)
tree45a9b14579632c2b1b254be08b9feac83f492945 /test/dotc/comptest.scala
parent90aa3ba1df70fea42b4a1cafe6551e7c3204f012 (diff)
downloaddotty-ba2913bdb52bf1a42bd831e9429e044ee8d3c42f.tar.gz
dotty-ba2913bdb52bf1a42bd831e9429e044ee8d3c42f.tar.bz2
dotty-ba2913bdb52bf1a42bd831e9429e044ee8d3c42f.zip
Changes to test framework and tests
defaultOptions is now an implicit parameter, which means it can be overridden on a call-by-call basis. Added -Ycheck:front to verify that typed trees typecheck again with same types. The option is disabled for one of the structural tests.
Diffstat (limited to 'test/dotc/comptest.scala')
-rw-r--r--test/dotc/comptest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/comptest.scala b/test/dotc/comptest.scala
index e7f60488b..63c400304 100644
--- a/test/dotc/comptest.scala
+++ b/test/dotc/comptest.scala
@@ -15,7 +15,7 @@ object comptest extends CompilerTest {
dotcDir + "tools/dotc/ast/Trees.scala",
"#runs", "2",
"-Ylog:frontend",
- "-Xprompt"))
+ "-Xprompt"))(Nil)
// compileDir(dotcDir + "tools/dotc/printing", List("-Xprompt", "-Ylog:frontend", "#runs", "2", "-uniqid"))
}