diff options
Diffstat (limited to 'src/repl/scala/tools/nsc/InterpreterLoop.scala')
-rw-r--r-- | src/repl/scala/tools/nsc/InterpreterLoop.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/repl/scala/tools/nsc/InterpreterLoop.scala b/src/repl/scala/tools/nsc/InterpreterLoop.scala new file mode 100644 index 0000000000..a0be3f4fdb --- /dev/null +++ b/src/repl/scala/tools/nsc/InterpreterLoop.scala @@ -0,0 +1,12 @@ +package scala.tools.nsc + +import interpreter._ +import java.io._ + +/** A compatibility stub. + */ +@deprecated("Use a class in the scala.tools.nsc.interpreter package.", "2.9.0") +class InterpreterLoop(in0: Option[BufferedReader], out: PrintWriter) extends ILoop(in0, out) { + def this(in0: BufferedReader, out: PrintWriter) = this(Some(in0), out) + def this() = this(None, new PrintWriter(scala.Console.out)) +} |