diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/Interpreter.scala | 2 |
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 |