summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-04-07 10:27:53 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-04-07 10:27:53 +0000
commit09d3a7bb5b1a96300b78e7f1b38f135c5ab80d20 (patch)
tree22469b51fe59ac28f3f5dc60af1116e75f4ce697 /src/compiler
parentdb6b85db2474e562ca6772384f845fa6f7e68311 (diff)
downloadscala-09d3a7bb5b1a96300b78e7f1b38f135c5ab80d20.tar.gz
scala-09d3a7bb5b1a96300b78e7f1b38f135c5ab80d20.tar.bz2
scala-09d3a7bb5b1a96300b78e7f1b38f135c5ab80d20.zip
Use toString() instead of toString in the inter...
Use toString() instead of toString in the interpreter.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/Interpreter.scala4
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\") ")
}
}
}