summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/CompileSocket.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2012-04-12 23:47:59 -0700
committerMartin Odersky <odersky@gmail.com>2012-04-12 23:47:59 -0700
commit1c89ab72339fee8767869585f28811d5e2e437b1 (patch)
treec794d4b1d52af53beca4829c6ee159bd53d37af6 /src/compiler/scala/tools/nsc/CompileSocket.scala
parenta7a1e3a1959f26c9b44b40b328ef217b4ebdbaba (diff)
downloadscala-1c89ab72339fee8767869585f28811d5e2e437b1.tar.gz
scala-1c89ab72339fee8767869585f28811d5e2e437b1.tar.bz2
scala-1c89ab72339fee8767869585f28811d5e2e437b1.zip
Enabling postfix ops feature warning, and working on libs to avoid them.
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompileSocket.scala')
-rw-r--r--src/compiler/scala/tools/nsc/CompileSocket.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileSocket.scala b/src/compiler/scala/tools/nsc/CompileSocket.scala
index a0c39f71fb..a4a8e1fd11 100644
--- a/src/compiler/scala/tools/nsc/CompileSocket.scala
+++ b/src/compiler/scala/tools/nsc/CompileSocket.scala
@@ -93,7 +93,7 @@ class CompileSocket extends CompileOutputCommon {
/** Start a new server. */
private def startNewServer(vmArgs: String) = {
- val cmd = serverCommand(vmArgs split " " toSeq)
+ val cmd = serverCommand((vmArgs split " ").toSeq)
info("[Executing command: %s]" format cmd.mkString(" "))
// Hiding inadequate daemonized implementation from public API for now
@@ -206,7 +206,7 @@ class CompileSocket extends CompileOutputCommon {
Thread sleep 100
ff.length
}
- if (Iterator continually check take 50 find (_ > 0) isEmpty) {
+ if ((Iterator continually check take 50 find (_ > 0)).isEmpty) {
ff.delete()
fatal("Unable to establish connection to server.")
}