From 77eb8fefec3e62ead95c7d409ec5a28f30289ec3 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 5 Dec 2010 02:56:08 +0000 Subject: Mopping up after the deprecation of exit and er... Mopping up after the deprecation of exit and error. It is decidedly non-trivial (at least for the IDE-impaired) to be completely sure of which error function was being called when there were about twenty with the same signature in trunk and they are being variously inherited, imported, shadowed, etc. So although I was careful, the possibility exists that something is now calling a different "error" function than before. Caveat programmer. (And let's all make it our policy not to name anything "error" or "exit" from here on out....) No review. --- src/compiler/scala/tools/util/SocketServer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/util/SocketServer.scala') diff --git a/src/compiler/scala/tools/util/SocketServer.scala b/src/compiler/scala/tools/util/SocketServer.scala index 88d7013f36..f647660193 100644 --- a/src/compiler/scala/tools/util/SocketServer.scala +++ b/src/compiler/scala/tools/util/SocketServer.scala @@ -42,7 +42,7 @@ abstract class SocketServer def fatal(msg: String): Nothing = { System.err.println(msg) - exit(1) + system.exit(1) } private def warn(msg: String) { -- cgit v1.2.3