From 22245600a5d413876dfbf110c0a6f80719f8168e Mon Sep 17 00:00:00 2001 From: mihaylov Date: Fri, 17 Feb 2006 08:10:28 +0000 Subject: Fixed the failure of the nightly build --- src/compiler/scala/tools/nsc/Interpreter.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3