summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-02-17 08:10:28 +0000
committermihaylov <mihaylov@epfl.ch>2006-02-17 08:10:28 +0000
commit22245600a5d413876dfbf110c0a6f80719f8168e (patch)
tree5691e92f9b6af78395718480fc0c4b2b09a8c3d7
parent074eba93edc47a9be7e1750661f3ff2188a6b9ad (diff)
downloadscala-22245600a5d413876dfbf110c0a6f80719f8168e.tar.gz
scala-22245600a5d413876dfbf110c0a6f80719f8168e.tar.bz2
scala-22245600a5d413876dfbf110c0a6f80719f8168e.zip
Fixed the failure of the nightly build
-rw-r--r--src/compiler/scala/tools/nsc/Interpreter.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Interpreter.scala b/src/compiler/scala/tools/nsc/Interpreter.scala
index c67e9a191e..4bcadce59b 100644
--- a/src/compiler/scala/tools/nsc/Interpreter.scala
+++ b/src/compiler/scala/tools/nsc/Interpreter.scala
@@ -52,7 +52,7 @@ class Interpreter(val compiler: Global, output: (String => Unit)) {
/** construct an interpreter that prints to the compiler's reporter */
def this(compiler: Global) = {
- this(compiler, str => compiler.reporter.info(null, str, true))
+ this(compiler, str: String => compiler.reporter.info(null, str, true))
}
private def reporter = compiler.reporter