diff options
author | Paul Phillips <paulp@improving.org> | 2011-01-29 01:43:10 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-01-29 01:43:10 +0000 |
commit | cf492f472aa6d1154cd7336c37bab0b78125b872 (patch) | |
tree | 8735c22a25c019a5e694d8f93a0d66e9b4f47940 /test/files/run | |
parent | b06bfabfa42cc089521e551acb9876a564ec027f (diff) | |
download | scala-cf492f472aa6d1154cd7336c37bab0b78125b872.tar.gz scala-cf492f472aa6d1154cd7336c37bab0b78125b872.tar.bz2 scala-cf492f472aa6d1154cd7336c37bab0b78125b872.zip |
There is a lot of housecleaning to be done.
up the stray interpreter files and put them in the interpreter package.
Would really love to change the name of that package. Went looking for
some consistent divisions of responsibility and consistent naming.
Made some progress. There are deprecated versions of most everything I
changed so hopefully the carnage will be limited.
This isn't completely baked but I just realized I broke the build
earlier and this should fix it. I'll keep the oven on. No review.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/treePrint.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/treePrint.scala b/test/files/run/treePrint.scala index 4c5f852582..8a77a3c9dc 100644 --- a/test/files/run/treePrint.scala +++ b/test/files/run/treePrint.scala @@ -34,9 +34,9 @@ object Test { settings.classpath.value = System.getProperty("java.class.path") settings.Ycompacttrees.value = true - val repl = new Interpreter(settings, new PrintWriter(new NullOutputStream)) - val power = new Power(repl) - repl.interpret("""def initialize = "Have to interpret something or we get errors." """) + val intp = new IMain(settings, new PrintWriter(new NullOutputStream)) + val power = new Power(intp) + intp.interpret("""def initialize = "Have to interpret something or we get errors." """) println(power mkTree code) } } |