diff options
Diffstat (limited to 'test/files/run/treePrint.scala')
-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) } } |