From 09d3a7bb5b1a96300b78e7f1b38f135c5ab80d20 Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Mon, 7 Apr 2008 10:27:53 +0000 Subject: Use toString() instead of toString in the inter... Use toString() instead of toString in the interpreter. --- src/compiler/scala/tools/nsc/Interpreter.scala | 4 ++-- 1 file 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\") ") } } } -- cgit v1.2.3