From 98c87462f7ffcc14dc4fbab9df586a200b77428b Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 4 Mar 2010 21:06:08 +0000 Subject: Making sure the interpreter always uses the des... Making sure the interpreter always uses the designated output stream rather than unwittingly falling back on predef. No review. --- src/compiler/scala/tools/nsc/Interpreter.scala | 17 +++++++------- src/compiler/scala/tools/nsc/InterpreterLoop.scala | 26 +++++++++++++--------- 2 files changed, 24 insertions(+), 19 deletions(-) (limited to 'src') diff --git a/src/compiler/scala/tools/nsc/Interpreter.scala b/src/compiler/scala/tools/nsc/Interpreter.scala index d8507a4e7c..489a0161ba 100644 --- a/src/compiler/scala/tools/nsc/Interpreter.scala +++ b/src/compiler/scala/tools/nsc/Interpreter.scala @@ -6,6 +6,7 @@ package scala.tools.nsc +import Predef.{ println => _, _ } import java.io.{ File, PrintWriter, StringWriter, Writer } import File.pathSeparator import java.lang.{ Class, ClassLoader } @@ -538,10 +539,10 @@ class Interpreter(val settings: Settings, out: PrintWriter) { compileSources(new BatchSourceFile("