diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2008-10-15 14:18:29 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2008-10-15 14:18:29 +0000 |
commit | 7e3aecae9e738c9f4129e1c9b841837722b38dd6 (patch) | |
tree | c1abfe3d9fa20666041da22113b77e35d20878a6 | |
parent | 86b39a89cda0680d487b3591b492e4dc2ed5263f (diff) | |
download | scala-7e3aecae9e738c9f4129e1c9b841837722b38dd6.tar.gz scala-7e3aecae9e738c9f4129e1c9b841837722b38dd6.tar.bz2 scala-7e3aecae9e738c9f4129e1c9b841837722b38dd6.zip |
Fix for #1421
-rw-r--r-- | src/compiler/scala/tools/nsc/CompileClient.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileClient.scala b/src/compiler/scala/tools/nsc/CompileClient.scala index 55a561b8cf..440e2749ad 100644 --- a/src/compiler/scala/tools/nsc/CompileClient.scala +++ b/src/compiler/scala/tools/nsc/CompileClient.scala @@ -94,7 +94,7 @@ class StandardCompileClient { val socket = if (serverAdr == "") compileSocket.getOrCreateSocket(vmArgs, !shutdown) else compileSocket.getSocket(serverAdr) var sawerror = false - if (socket == 0) { + if (socket eq null) { if (shutdown) { Console.println("[No compilation server running.]") } else { |