aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-06-15 17:08:49 +0200
committerMartin Odersky <odersky@gmail.com>2015-06-29 08:56:46 +0200
commit2e33ba9dd22913b5e7aab472f70dc2f645079636 (patch)
tree3d77a0e2e18023f36fa6f20bf260e8ea47fc0b49
parent68b4e6ce51ee8b4981d8a8369d84a45bba8a237c (diff)
downloaddotty-2e33ba9dd22913b5e7aab472f70dc2f645079636.tar.gz
dotty-2e33ba9dd22913b5e7aab472f70dc2f645079636.tar.bz2
dotty-2e33ba9dd22913b5e7aab472f70dc2f645079636.zip
Fix doc comment
-rw-r--r--src/dotty/tools/dotc/reporting/ThrowingReporter.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/reporting/ThrowingReporter.scala b/src/dotty/tools/dotc/reporting/ThrowingReporter.scala
index eb854d513..358b8d249 100644
--- a/src/dotty/tools/dotc/reporting/ThrowingReporter.scala
+++ b/src/dotty/tools/dotc/reporting/ThrowingReporter.scala
@@ -7,7 +7,8 @@ import collection.mutable
import Reporter._
/**
- * This class implements a Reporter that stores all messages
+ * This class implements a Reporter that throws all errors and sends warnings and other
+ * info to the underlying reporter.
*/
class ThrowingReporter(reportInfo: Reporter) extends Reporter {
protected def doReport(d: Diagnostic)(implicit ctx: Context): Unit = d match {