For sending messages that are printed only if -verbose is set
Log msg if settings.log contains the current phase.
Log msg if settings.log contains the current phase. See config.CompilerCommand#explainAdvanced for the exact meaning of "contains" here.
Implements a fold that applies the function f
to the result of op
if
there are no new errors in the reporter
Implements a fold that applies the function f
to the result of op
if
there are no new errors in the reporter
operation checked for errors
function applied to result of op
either the result of op
if it had errors or the result of f
applied to it