diff options
Diffstat (limited to 'sources/scala/tools/scaladoc/Main.scala')
-rw-r--r-- | sources/scala/tools/scaladoc/Main.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scala/tools/scaladoc/Main.scala b/sources/scala/tools/scaladoc/Main.scala index f72a9c0819..f05b86fd84 100644 --- a/sources/scala/tools/scaladoc/Main.scala +++ b/sources/scala/tools/scaladoc/Main.scala @@ -8,7 +8,7 @@ import scalac.{Global => scalac_Global}; import scala.tools.scalac.{Global, CompilerPhases}; -import scala.tools.util.Reporter; +import scala.tools.util.ConsoleReporter; package scala.tools.scaladoc { @@ -27,7 +27,7 @@ object Main { System.getProperty("scala.version", "1.0"); def main(args: Array[String]): Unit = { - val reporter = new Reporter(); + val reporter = new ConsoleReporter(); val phases = new CompilerPhases(); { // we skip all phases between ANALYZER and TERMINAL. val array = phases.phases(); @@ -52,7 +52,7 @@ object Main { } generator.apply(); } - global.reporter.printSummary(); + reporter.printSummary(); } // System.exit(if (reporter.errors() > 0) 1 else 0); } |