summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 46420c4b6d..907344d352 100644
--- a/src/compiler/scala/tools/nsc/Interpreter.scala
+++ b/src/compiler/scala/tools/nsc/Interpreter.scala
@@ -711,7 +711,7 @@ class Interpreter(val settings: Settings, out: PrintWriter) {
fullPath(vname) +
".toString.contains('\\n')) " +
" \"\\n\" else \"\") + " +
- fullPath(vname) + " + \"\\n\") else \"null\\n\") ")
+ fullPath(vname) + ".toString + \"\\n\") else \"null\\n\") ")
}
}