diff options
Diffstat (limited to 'src/dotty/tools/dotc/reporting/ThrowingReporter.scala')
-rw-r--r-- | src/dotty/tools/dotc/reporting/ThrowingReporter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/reporting/ThrowingReporter.scala b/src/dotty/tools/dotc/reporting/ThrowingReporter.scala index 64350fc0e..026453036 100644 --- a/src/dotty/tools/dotc/reporting/ThrowingReporter.scala +++ b/src/dotty/tools/dotc/reporting/ThrowingReporter.scala @@ -13,6 +13,6 @@ import Reporter._ class ThrowingReporter(reportInfo: Reporter) extends Reporter { def doReport(d: Diagnostic)(implicit ctx: Context): Unit = d match { case _: Error => throw d - case _ => reportInfo.report(d) + case _ => reportInfo.doReport(d) } } |