diff options
Diffstat (limited to 'src')
-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 fa2960e56c..217823d2a9 100644 --- a/src/compiler/scala/tools/nsc/Interpreter.scala +++ b/src/compiler/scala/tools/nsc/Interpreter.scala @@ -348,7 +348,7 @@ class Interpreter(val compiler: Global, output: (String => Unit)) { def resultExtractionCode(code: PrintWriter): Unit = { for(val vname <- namesToPrintForUser) { - code.println(" + \"" + vname + ": " + typeOf(vname) + + code.print(" + \"" + vname + ": " + typeOf(vname) + " = \" + " + objectName + "." + vname + " + \"\\n\"") } } |