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 b2a61c1 commit 13f6a91Copy full SHA for 13f6a91
compiler/src/dotty/tools/dotc/reporting/StoreReporter.scala
@@ -40,5 +40,5 @@ class StoreReporter(outer: Reporter) extends Reporter {
40
if (infos != null) try infos.toList finally infos = null
41
else Nil
42
43
- override def errorsReported = hasErrors || outer.errorsReported
+ override def errorsReported = hasErrors || (outer != null && outer.errorsReported)
44
}
0 commit comments