Warning
A diagnostic pass which has warning severity.
If a diagnostic of this kind is emitted, this indicates that the pipeline meets its constraints and can be executed by a runner. However, the pipeline may be using non-optimal practices or can be optimized (manually or otherwise).
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
fun DiagnosticPass.handleFailure(pipeline: Pipeline, onWarn: (List<Throwable>) -> Unit = {}, onErr: (List<Throwable>) -> Unit = {})
Verifies whether the pipeline passes this diagnostic as if by calling invoke, and invokes onWarn or onErr depending on whether this diagnostic is a DiagnosticPass.Warning or DiagnosticPass.Error respectively.
Link copied to clipboard
Hashes this
DiagnosticPass object using kotlin.reflect.KClass.hashCode of this class.
Link copied to clipboard
Link copied to clipboard