Skip to content

Commit 4de4403

Browse files
committed
Fix #704, make reporters print messages
Previously was swallowed in `isHidden` inside `report`
1 parent 7f2f283 commit 4de4403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/reporting/ThrowingReporter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ import Reporter._
1313
class ThrowingReporter(reportInfo: Reporter) extends Reporter {
1414
def doReport(d: Diagnostic)(implicit ctx: Context): Unit = d match {
1515
case _: Error => throw d
16-
case _ => reportInfo.report(d)
16+
case _ => reportInfo.doReport(d)
1717
}
1818
}

0 commit comments

Comments
 (0)