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 ffb6d0d commit 051c1e7Copy full SHA for 051c1e7
compiler/test/dotty/tools/vulpix/SummaryReport.scala
@@ -83,8 +83,10 @@ final class SummaryReport extends SummaryReporting {
83
def addStartingMessage(msg: String): Unit =
84
startingMessages.append(msg)
85
86
- def addCleanup(f: () => Unit): Unit =
+ def addCleanup(f: () => Unit): Unit = {
87
+ assert(f ne null)
88
cleanUps.append(f)
89
+ }
90
91
/** Both echoes the summary to stdout and prints to file */
92
def echoSummary(): Unit = {
0 commit comments