diff options
author | Martin Odersky <odersky@gmail.com> | 2013-11-14 17:29:02 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-11-14 17:29:02 +0100 |
commit | 7e46c4474d67da1472d1f0d210f123387fd1bb0f (patch) | |
tree | 1aee2cd83e6fae149895546d9feaf5bdce3eadaa /src/dotty/tools | |
parent | 74a1ebe6910f4832792cf2341954b7203d12ed8f (diff) | |
download | dotty-7e46c4474d67da1472d1f0d210f123387fd1bb0f.tar.gz dotty-7e46c4474d67da1472d1f0d210f123387fd1bb0f.tar.bz2 dotty-7e46c4474d67da1472d1f0d210f123387fd1bb0f.zip |
Debug measure: Report all errors when they are first issued
Diffstat (limited to 'src/dotty/tools')
-rw-r--r-- | src/dotty/tools/dotc/reporting/StoreReporter.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/reporting/StoreReporter.scala b/src/dotty/tools/dotc/reporting/StoreReporter.scala index b20c5d504..67c71df15 100644 --- a/src/dotty/tools/dotc/reporting/StoreReporter.scala +++ b/src/dotty/tools/dotc/reporting/StoreReporter.scala @@ -13,8 +13,10 @@ class StoreReporter extends Reporter { val infos = new mutable.ListBuffer[Diagnostic] - protected def doReport(d: Diagnostic)(implicit ctx: Context): Unit = + protected def doReport(d: Diagnostic)(implicit ctx: Context): Unit = { + println(s">>>> StoredError: ${d.msg}") // !!! DEBUG infos += d + } override def flush()(implicit ctx: Context) = infos foreach ctx.reporter.report |