We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f2f283 commit 4de4403Copy full SHA for 4de4403
src/dotty/tools/dotc/reporting/ThrowingReporter.scala
@@ -13,6 +13,6 @@ import Reporter._
13
class ThrowingReporter(reportInfo: Reporter) extends Reporter {
14
def doReport(d: Diagnostic)(implicit ctx: Context): Unit = d match {
15
case _: Error => throw d
16
- case _ => reportInfo.report(d)
+ case _ => reportInfo.doReport(d)
17
}
18
0 commit comments