aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-02-10 11:10:20 +0100
committerMartin Odersky <odersky@gmail.com>2014-02-10 11:13:34 +0100
commit18ae13dcf4f5d40d528e2bcf43a19e84bf475084 (patch)
tree8728df0e05fbec0bbe1451196a987c5e446d3f5e /test
parentf4e9a881a561e28900becc7deea520b43e57fb31 (diff)
downloaddotty-18ae13dcf4f5d40d528e2bcf43a19e84bf475084.tar.gz
dotty-18ae13dcf4f5d40d528e2bcf43a19e84bf475084.tar.bz2
dotty-18ae13dcf4f5d40d528e2bcf43a19e84bf475084.zip
Make Definitions load all symbols in current runId.
Diffstat (limited to 'test')
-rw-r--r--test/dotc/comptest.scala2
-rw-r--r--test/test/DottyTest.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dotc/comptest.scala b/test/dotc/comptest.scala
index 4065b8f13..8a28ddd46 100644
--- a/test/dotc/comptest.scala
+++ b/test/dotc/comptest.scala
@@ -9,5 +9,5 @@ object comptest extends CompilerTest {
val dotcDir = "/Users/odersky/workspace/dotty/src/dotty/"
def main(args: Array[String]) =
- compileFile(posDir, "Coder", List("-Xprompt", "-Ylog:frontend", "#runs", "2"))
+ compileDir(dotcDir + "tools/dotc/reporting", List("-Xprompt", "-Ylog:frontend", "#runs", "2"))
} \ No newline at end of file
diff --git a/test/test/DottyTest.scala b/test/test/DottyTest.scala
index 8d48bd58e..f2d3ef92e 100644
--- a/test/test/DottyTest.scala
+++ b/test/test/DottyTest.scala
@@ -29,7 +29,7 @@ class DottyTest {
// .withSetting(uniqid, true)
println(ctx.settings)
- base.definitions.init()
+ base.definitions.init(ctx)
ctx
}