diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/Interpreter.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Interpreter.scala b/src/compiler/scala/tools/nsc/Interpreter.scala index 43f7c18e02..7ae7bc6442 100644 --- a/src/compiler/scala/tools/nsc/Interpreter.scala +++ b/src/compiler/scala/tools/nsc/Interpreter.scala @@ -626,9 +626,9 @@ class Interpreter(val settings: Settings, out: PrintWriter) { ".asInstanceOf[AnyRef] != null) " + " ((if(" + req.fullPath(vname) + - ".toString.contains('\\n')) " + + ".toString().contains('\\n')) " + " \"\\n\" else \"\") + " + - req.fullPath(vname) + ".toString + \"\\n\") else \"null\\n\") ") + req.fullPath(vname) + ".toString() + \"\\n\") else \"null\\n\") ") } } } |