handleWarning

open fun handleWarning(problem: Problem, decider: (Boolean) -> Unit)

The corresponding Problem indicates a situation that is less than ideal. A ProblemHandler may choose to present this warning, and then continue compilation.

Parameters

problem

The problem whose type is ProblemType.WARNING.

decider

How to continue or abort compilation. Accepts a boolean that is true iff compilation should continue.