summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2006-05-15 15:42:04 +0000
committerLex Spoon <lex@lexspoon.org>2006-05-15 15:42:04 +0000
commit8d547276dc58c088515d2f42963376b1f1cfec15 (patch)
tree5c4aa096a092a0e0535f93e7b231462c6bdfc75c
parent5911c61bf58fd0d1acbd65028ea56c0aeaec7dae (diff)
downloadscala-8d547276dc58c088515d2f42963376b1f1cfec15.tar.gz
scala-8d547276dc58c088515d2f42963376b1f1cfec15.tar.bz2
scala-8d547276dc58c088515d2f42963376b1f1cfec15.zip
cope with Interpreter.compile being renamed to ...
cope with Interpreter.compile being renamed to Interpreter.compileFile
-rw-r--r--src/compiler/scala/tools/nsc/InterpreterLoop.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterLoop.scala b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
index 7b225d7ccf..504abe9c28 100644
--- a/src/compiler/scala/tools/nsc/InterpreterLoop.scala
+++ b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
@@ -150,7 +150,7 @@ class InterpreterLoop(in: BufferedReader, out: PrintWriter) {
return Pair(false, false)
else if (line.matches(compileRegexp)) {
withFile(line)(f => {
- interpreter.compile(f)
+ interpreter.compileFile(f)
shouldReplay = true
})
}