ascot diagnostics

A8456

Warning: This condition is always {value}

Every value the condition can hold is true, or every one is false, so one branch of the If, ElseIf or postconditional never runs. IRIS compiles and runs the code as written. Remove the test, or let the value vary.

IRIS compiles the example.

Class Demo.ConditionAlways
{

ClassMethod Save() As %String
{
    Set verbose = 1
    If verbose Write "saving", ! //! A8456
    Quit "saved"
}

}

All diagnostics