diff options
-rw-r--r-- | sources/scala/tools/nsc/reporters/ConsoleReporter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/tools/nsc/reporters/ConsoleReporter.scala b/sources/scala/tools/nsc/reporters/ConsoleReporter.scala index e90af0f1e1..f759b66bec 100644 --- a/sources/scala/tools/nsc/reporters/ConsoleReporter.scala +++ b/sources/scala/tools/nsc/reporters/ConsoleReporter.scala @@ -48,7 +48,7 @@ class ConsoleReporter(reader : BufferedReader, writer : PrintWriter) extends Abs /** Returns the number of errors issued totally as a string */ - def getCountString(severity : Severity) : Unit = getCountString0(count(severity), label(severity));; + def getCountString(severity : Severity) : String = getCountString0(count(severity), label(severity));; /** Returns a string meaning "n elements". */ def getCountString0(n : Int, elements : String) : String = n match { |