summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2006-01-31 10:13:55 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2006-01-31 10:13:55 +0000
commit55baf42acba7e9b848403eb0b5aa669c2f1fcc7d (patch)
treea0f2d6bfcadbde935c4e64c2ca40690f6b18608a /src
parenta3ec956b661349f50356874ad0a3e609d4461a86 (diff)
downloadscala-55baf42acba7e9b848403eb0b5aa669c2f1fcc7d.tar.gz
scala-55baf42acba7e9b848403eb0b5aa669c2f1fcc7d.tar.bz2
scala-55baf42acba7e9b848403eb0b5aa669c2f1fcc7d.zip
Using debug mode is not longer necessary to get...
Using debug mode is not longer necessary to get stack traces when using Scalac for Ant.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/ant/Scalac.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/ant/Scalac.scala b/src/compiler/scala/tools/ant/Scalac.scala
index 415b7001f4..d9c69858ae 100644
--- a/src/compiler/scala/tools/ant/Scalac.scala
+++ b/src/compiler/scala/tools/ant/Scalac.scala
@@ -483,13 +483,13 @@ package scala.tools.ant {
reporter.printSummary()
} catch {
case exception: Throwable if (exception.getMessage != null) =>
- if (scalacDebugging) exception.printStackTrace()
+ exception.printStackTrace()
error("Compile failed because of an internal compiler error (" +
- exception.getMessage + "); see the error output for details.")
+ exception.getMessage + "); see the error output for details.")
case exception =>
- if (scalacDebugging) exception.printStackTrace()
+ exception.printStackTrace()
error("Compile failed because of an internal compiler error " +
- "(no error message provided); see the error output for details.")
+ "(no error message provided); see the error output for details.")
}
}